Allstate interview question

Describe the difference in Hashing and Cryptography.