note 112163 added to function.hash
| From: | yless42+php at gmail dot com | Date: | Sat, 11 May 2013 19:11:57 +0000 |
| Subject: | note 112163 added to function.hash | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194783@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.199
Probable Submitter: 5.66.233.217
----
Manual Page -- http://php.net/manual/en/function.hash.php
Edit -- https://master.php.net/note/edit/112163
Del: integrated -- https://master.php.net/note/delete/112163/integrated
Del: useless -- https://master.php.net/note/delete/112163/useless
Del: bad code -- https://master.php.net/note/delete/112163/bad+code
Del: spam -- https://master.php.net/note/delete/112163/spam
Del: non-english -- https://master.php.net/note/delete/112163/non-english
Del: in docs -- https://master.php.net/note/delete/112163/in+docs
Del: other reasons-- https://master.php.net/note/delete/112163
Reject -- https://master.php.net/note/reject/112163
Search -- https://master.php.net/manage/user-notes.php