how to encrypt and decyrpt password

Read -> http://www.google.com/search?q=hash+salt+password