> Le 8 nov. 2017 à 13:02, John DeSoi via 4D_Tech <[email protected]> a écrit > : > > You should add a case to compare the size before using the digest method.
There is ;-) > Another option not mentioned is comparing the BASE64 encoding. No idea how > that might compare with generating a digest. I've just tried, something like this: BASE64 ENCODE($1_x;$1_t) BASE64 ENCODE($2_x;$2_t) $equal_b:=(Position($1_t;$2_t;*)=1) Seems slower than digest, number of executions during the same time: b64...20 md5...35 sha1..58 -- Arnaud de Montard ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

