Paytm Labs interview question

What is the difference between encoding, encryption and hashing.

Interview Answer

Anonymous

12 Aug 2020

encoding is transforming a string to something more suitable for transfer and is not really meant to hide anything. Encryption is done to hide things with the purpose or reverting it eventually, like to transfer data or even for identification. Hashing is not meant to be reversable and is used to validate things, like file integrity or passwords.