Domanda di colloquio di Foursquare

What is the difference between encryption and hashing?