Foursquare interview question

What is the difference between encryption and hashing?