MD5 output (was Encryption)

Wouter wouter.abraham at pi.be
Sat Jun 12 06:51:54 EDT 2004


> Geoff Caplan geoff at advantae.com
> Sat Jun 12 10:21:32 EDT 2004
>
> Hi folks,
>
> I have been attempting to create a checksum digest in Rev for posting
> to a PHP server and checking server-side. The problem I ran into was
> the output from MD5 on Rev is binary, while on PHP it is an ASCII
> string. So of course they don't match.
>
> Does anyone understand what's going on here - I thought MD5 was a
> standard? Is there any way to translate from the binary to the ASCII
> format?

Have a look at the binaryDecode function.


>
> I must say that the PHP ASCII format is pretty useful. You can POST it
> over the net without base64 encoding, and use it directly to make
> unique filenames etc etc.
>
> ------------------
> Geoff Caplan
> Vario Software Ltd
> (+44) 121-515 1154

Greetings,
WA



More information about the use-livecode mailing list