Re: [PHP] Fw: MD5 in PHP and MD5 in Perl dont match up.

2003-03-27 Thread Michael Sims
On Wed, 26 Mar 2003 17:23:33 +0100, you wrote: >Im Very Sorry / Embarrased.. my code example had a mistake with extra >linebreak. Here is the example with out it, which gives a different MD5 >hash. I don't know why this is, but if you call Digest::MD5->md5_hex() in a procedural rather than OO way

[PHP] Fw: MD5 in PHP and MD5 in Perl dont match up.

2003-03-27 Thread Steven Carr
Im Very Sorry / Embarrased.. my code example had a mistake with extra linebreak. Here is the example with out it, which gives a different MD5 hash. The PHP is .. $data = "Cheese"; print "Data: '$data' \n"; $new_hash = md5($data); print "RE HASH ' $new_hash ' \n"; Output Data: 'Chee