note 112163 deleted from function.hash by googleguy
| From: | googleguy@php.net | Date: | Sat, 11 May 2013 19:27:23 +0000 |
| Subject: | note 112163 deleted from function.hash by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-194784@lists.php.net to get a copy of this message | ||
Note Submitter: yless42+php at gmail dot com
----
The documentation mentions:
Returns a string containing the calculated message digest as lowercase hexits
It should be noted that for some hashes this is actually slightly wrong and you may need to call
"strtoupper" to be compatible with other systems (especially if you are doing multiple
rounds of hashing). I know from experience that the reference implementation of
"Whirlpool" outputs its data in uppercase hexits - I can't say for other algorithms.