Re: php-db Digest 14 Jan 2008 19:48:27 -0000 Issue 3947

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Miguel -

MD5() is a "hash" function, not an encryption function. A hash function cannot be reversed. One of the reasons some sites use MD5() for passwords is so that the passwords are never even stored on the server, only the hash. So even the site's database admin can't figure out the passwords of users. A hash is a little like a checksum. Two files can have the same checksum even if they're completely different files. But good luck to you if you want to CREATE a file with a specific checksum.
-Peter




Is there a function opposite to md5()??


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux