note 15397 added to function.md5
| From: | neurobasher at planetquake dot com | Date: | Fri, 07 Sep 2001 21:16:11 +0000 |
| Subject: | note 15397 added to function.md5 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17794@lists.php.net to get a copy of this message | ||
It should be noted that PHP's MD5 implementation gives you a 256 bit hash (32 characters long),
while the "RSA Data Security Inc. MD5 Message-Digest Algorithm" provides a 128 bit hash
(16 characters long) instead. You can check that out by reading the RFC1321 docs in the very link
they included in the MD5 function's description.
That means saying it's "using" RSA's standard MD5 is slightly misleading. You
can say it's "based on" the standard, but it's a non-standard implementation.
Dan 'Neurobasher' Gomes
http://www.php.net/manual/en/function.md5.php