Cyber Force interview question

difference between encryption and hashing