Page 1 of 1

Password Hashing In PHP

PostPosted: Tue Jan 22, 2013 10:44 pm
by Sanith
What Is Password Hashing
Hashing is not a new concept. It has been in practical use for quite a long time. To understand hashing, think about fingerprints. Every person has a unique fingerprint. Similarly, each string can have a unique fixed-size “digital fingerprint” called a hash. For a good hashing algorithm, it’s very rare that two different strings will have same hash (called a collision).
The most important feature of hashes is that the hash generation process is one way. The one way property indicates that it’s impossible to recover the original text from its hash. Therefore password hashing perfectly suits our need for secure password storage. Instead of storing a password in plain text, we can hash the password and store the resulting hash. If an attacker later gains access to the database, he can’t recover original password from the hash.

More:

Image

Re: Password Hashing In PHP

PostPosted: Wed Jan 23, 2013 12:03 am
by christykunjumon
Intersting information Sanith, Thanks for the share :)

Re: Password Hashing In PHP

PostPosted: Wed Jan 23, 2013 6:05 am
by beniston
This is good Sanith.

When I happened to go through an article, I happened to see that in the forthcoming PHP 5.5 version there is gonna to be a new password hashing function.

http://php.net/manual/en/function.password-hash.php

Note: PHP 5.5 is still in alpha.