|
[Date Index]
[Thread Index]
[Author Index]
Reproducing a hash code
- To: mathgroup at smc.vnet.net
- Subject: [mg82963] Reproducing a hash code
- From: "Steve Luttrell" <steve at _removemefirst_luttrell.org.uk>
- Date: Mon, 5 Nov 2007 05:00:00 -0500 (EST)
I am trying to get results from Mathematica's Hash function (for hash type
"MD5") that are consistent with the results obtained using "openssl md5" in
Linux.
The particular example I would like to reproduce is on
http://wiki.secondlife.com/wiki/LlMD5String, where
"Hello, Avatar!:0"
hashes to (for hash type "MD5")
112abd47ceaae1c05a826828650434a6
In Mathematica 6 (Windows Vista, Intel hardware), doing the obvious
Hash["Hello, Avatar!:0", "MD5"] // BaseForm[#, 16] &
I get the following result
a8c2ab1662a37cb9f8ea5af154a48c52
This is not the same as expected. Does anyone know how to get consistent
results?
--
Steve Luttrell
West Malvern, UK
Prev by Date:
Re: NDSolve with functions of vectors
Next by Date:
Re: Size of graphic
Previous by thread:
Re: A Problem with x[i_]:=
Next by thread:
Re: Reproducing a hash code
|