Frage im Vorstellungsgespräch bei Microsoft

What is the difference between Hashing/Encryption and Encoding?