I have a website which uses SHA1 hashing for passwords. I recently read the following article which argued not to use SHA1 for passwords since SHA1 was never designed to protect passwords: http://arstechnica.com/security/2012/08/passwords-under-assault/4/
Can you please recommend a good hasing method I can implement instead of SHA1 and please provide a link to a tutorial which describes step-by-step how to implement that encryption method using php?
First of all, SHA1 ain’t an encryption algorithm, it is a hashing algorithm.
For password hashing, I advise the use of PHPass. It basically uses the best possible hashing algorithm available on the system your code is installed upon.