[plt-scheme] FFI and MD5

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jan 31 16:33:58 EST 2007

At Wed, 31 Jan 2007 22:21:11 +0100, Jens Axel Søgaard wrote:
> So the message digest (the md) of #"" is 
> #"d41d8cd98f00b204e9800998ecf8427e".

This is a representation of 16 8-bit numbers where each 8-bit number is
shown as a 2-digit hex number, right? (It's a byte string of length 32.)

>  > (md5 #"")
> "Ô\u001D\u008CÙ\u008F\u0000\u00B2\u0004é\u0080\t\u0098ìøB~"

This is a representation of 16 8-bit numbers where each 8-bit number is
shown as a Unicode character. (It's a string of length 16.)

They encode differently the same result, right?

Matthew



Posted on the users mailing list.