Pregunta de entrevista de Microsoft

What is the difference between Hashing/Encryption and Encoding?