MD5Digest values

J. Landman Gay jacque at hyperactivesw.com
Mon Aug 8 21:46:41 EDT 2005


Brian Yennie wrote:
 >
 > * The digest is of a fixed length
 > * Since the digest is binary, you might want to hex or base64 encode it,
 > in which case you'll know the possible characters.
 >

And Dave Cragg wrote:

 > I usually use the following function to store the digests as a hex 
string.
 >
 > function hexDigest pvalue
 >   local tRes
 >   put md5Digest(pValue) into tMD5
 >   get binaryDecode("H*",tMD5,tRes)
 >   return tRes
 > end hexDigest


Thanks guys, this helps.


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list