LeapFrog interview question

Difference between Hashing and encryption?