Pergunta de entrevista da empresa Paysafe

How are hashing and encoding similar/different?