Re: MD5 Brain teaser
- To: mathgroup at smc.vnet.net
- Subject: [mg55489] Re: [mg55484] MD5 Brain teaser
- From: Christopher Purcell <christopherpurcell at mac.com>
- Date: Sat, 26 Mar 2005 02:39:20 -0500 (EST)
- References: <200503251048.FAA11370@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
If you are using Mac OSX, or some other Unix /Linux system, MD5 is likely already on your system. On Mac OSX you can do this: a = "your text message goes here"; Export["junk.txt", a, "Text"]; Run["md5 junk.txt >junk.md5"]; Import["junk.md5", "List"] [[4]] 8328cde7b79faeb0ca1b5b155e60168b This runs very fast, on huge files, and re- coding MD5 in Mathematica would not improve on its speed. Christopher Purcell Sensors & Actuators Group DRDC-Atlantic, 9 Grove St., PO Box 1012, Dartmouth NS B2Y 3Z7 Canada Work E-mail chris.purcell at drdc-rddc.gc.ca Work Tel 902-426-3100 x389 Fax 902-426-9654 Home Tel 902-464-9248 Home E-mail christopherpurcell at mac.com AIM/iChatAV: cffrc On Mar 25, 2005, at 6:48 AM, Barthelet, Luc wrote: > > I can't find a Mathematica implementation of MD5 checksum anywhere. > There is one email question in mathgroup in 1998 but no answer. > > Anyone feel like implementing it? I could use it. > > I found this algorithm description that includes a validation of the > implementation. > http://www.columbia.edu/~ariel/ssleay/rfc1321.html > > Thanks in advance, > > Luc >
- References:
- MD5 Brain teaser
- From: "Barthelet, Luc" <lucb@ea.com>
- MD5 Brain teaser