Google interview question

Explain hashing algorithms for encryption.