This question already has an answer here:
- Private Variables [duplicate] 1 answer
When I set an attribute to
private it's not accessible from outside, but everyone who runs a node can still see it.
Someone told me to use encryption to hide attribute values, but how should this work, would not everyone also see than the key I used to encrypt my data? Is there a default way to handle this in Solidity?