MD5Digest values
Dave Cragg
dcragg at lacscentre.co.uk
Mon Aug 8 17:58:00 EDT 2005
On 8 Aug 2005, at 22:33, J. Landman Gay wrote:
> Can an md5digest value ever contain a comma? If so, are there any
> values it cannot contain? I need to store these in a list of some
> type.
For example, the md5Digest of 2 contains a comma. As the "raw"
md5Digest is a binary value, I suspect any character could appear.
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
Cheers
Dave
More information about the use-livecode
mailing list