Microsoft Interview Question

What is the difference between Hashing/Encryption and Encoding?