I would like to understand the importance of encrypting sensitive data before sending them to an Ethereum smart contract and its significant benefit compared to the case where we don't encrypt them.
Case 1: no encryption For example, in a use case where we would like to register an academic degree on the Ethereum blockchain, data like student's Date of birth, Birth place, Parents names, etc. might be needed to register a certification.
- If these data are not encrypted, can anyone view them? For example, on Etherscan can someone see the exact date of birth, birth place, etc.??
- If so, do they see it as plain human-readable text?
Case 2: In the second case, lets say that we encrypt the aforementioned data, before sending them to the smart contract. Lets say that we utilize a javascript library to do so.
- Now if someone tries to see this transaction in Etherscan, what they are going to see?? For example, something like an arbitrary string that does not give insight on what it is about?
Thank you in advance, Nikolas.