Let's say I have something like this:
bytes32 person;
function registerPerson(address _person) public {
bytes32 x;
x = sha256(abi.encodePacked(_person));
person = x;
}
For privacy reasons, I want to store that "_person" element as a hash, so that people don't know what address it is. I know that the bytes32 value can be viewed, but now I'm wondering if there is any way people can see the raw "_person" input?
In my opinion, the answer is a no, but using Remix, it shows the inputs made to a function, and now I'm wondering if that's just the compiler's functionality for debugging or if raw input is actually visible somewhere.
Thanks a lot.