Post
Share your knowledge.
How to keep object data private on a public chain?
I'm working on transferring object data that includes potentially sensitive information. I'm concerned about privacy since it's on a public chain where everything is visible. I'm using a structure for 'UserData' that contains details like a user's name and favorite color, and I'm transferring this data to the user. How can I ensure that only the user can view the 'real' contents of the object?
- Move CLI
Answers
1On a public blockchain, data visibility is a general concern. One of the best practices to maintain privacy is encrypting the sensitive data. This means that even if the data is visible on the chain, only someone with the correct key can decrypt and view the real contents, thus securing it from other users while still being able to operate.
Do you know the answer?
Please log in and share it.
Move is an executable bytecode language used to implement custom transactions and smart contracts.

- MiniBob... SUI+31
1
- 0xduckmove... SUI+27
2
- HaGiang... SUI+26
3
- ... SUIharry phan+21
- ... SUIMarlKey+20
- ... SUI
- ... SUIVens.sui+15
- ... SUICarlkawIy+12
- ... SUI
- ... SUIkryptoschain+10