Hash function

Warren Samples warren at warrensweb.us
Mon May 30 12:28:55 EDT 2011


On Monday, May 30, 2011 10:22:04 AM paolo mazza wrote:
> Hi All,
> has anyone already ported the hash function to LiveCode?
> 
> Using php is a trivial function like this: createHash("10.00","978")
> 
> I looked in the ML archive, and I found that some years ago,
> answering the same question,  Mark wrote "I don't know of one, but
> couldn't you use the built in md5 and do  something simple to reduce
> it from 128 to 32 bits (maybe average the  four groups of 32 bits) ? "
> ... but I do not understand this.
> 
> Thanks a lot
> All the Best
> 
> Paolo Mazza
> 


Have you looked at Mark Smith's libHash-Hmac library?

http://marksmith.on-rev.com/revstuff/




More information about the use-livecode mailing list