Hashing is the first step towards secure cryptographic storage of data before passing it to the database. It is advisable to make sure sensitive parameters like password, credit card information is encrypted by using hashing algorithm so that in the event of a database compromise such information is still secure.
To make the hashing stronger it’s recommended to add a Salt to the password string. Salting makes password guessing harder and improbable if the salt is large enough.
How do I implement Secure Crytographic Storage?
The following posts provide specific details for implementing secure cryptography in various programming languages and through a variety of methods.