note 10935 deleted from function.mhash by didou
| From: | didou@php.net | Date: | Sun, 06 Feb 2005 01:55:39 +0000 |
| Subject: | note 10935 deleted from function.mhash by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-84574@lists.php.net to get a copy of this message | ||
Note Submitter: teriumNOSPAM at techie dot com
----
[Editor's Note:
The list of hashes is on the main page for the mhash functions.
--zak@php.net]
I'm not sure why there isn't a list of the hashes available. One that works (and I use)
is MD5. You can encrypt like this:
$hash = bin2hex(mHash(MHASH_MD5, $password))
If you don't do bin2hex(), then you probably won't be able to save it in a database
because of certain chars.