UST interview question

Differentiate between Hashing and Encryption