MD5 digests of very big files

Malte Pfaff-Brill revolution at derbrill.de
Tue Jun 29 03:43:40 EDT 2010


Hi Al,

I guess the problem you see is that revs MD5s need to be binaryDecoded to have the same output like for example PHP. A simple script to see this is:

on mouseUp
   local tCheck,tResult
   put md5Digest("moo") into tCheck
   get binaryDecode("H*",tCheck,tResult)
   put tCheck&cr&tResult
  -- tCheck is revs, tResult is compliant to PHP
end mouseUp

Hope that helps!

Cheers,

Malte


More information about the use-livecode mailing list