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

2003-03-27 Thread Steven Carr
#x27; $new_hash ' \n"; Output Data: 'Cheese' RE HASH ' a67778b3dcc82bfaace0f8bc0061f20e ' Thanks in advance, Steve. - Original Message - From: "Steven Carr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 200

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

2003-03-27 Thread Steven Carr
uot;; $new_hash = md5($data); print "RE HASH ' $new_hash ' \n"; Gives Data: 'Cheese ' RE HASH ' c69f543f8f2ab31d5b8f148f55b56c56 ' I also tried a command line of echo -n 'Cheese' | md5sum Which gives me the same hash as Perl. PHP seems to give me different res