md5 php vs. md5 perl
| From: | Danny Kruitbosch | Date: | Sun, 16 Jun 2002 12:22:22 +0000 |
| Subject: | md5 php vs. md5 perl | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-102395@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to rewrite a perl finction to php. The function uses Digest::MD5.
PHP md5() returns a 32 char hex number. The perl Digest::MD5 function returns a 16 char (ascii??) string. Can I also get this from PHP? If so how do I do that?
My ultimate goal is to have compatible PHP/Perl functions.
Thanks!
Danny