Move.

Post

Share your knowledge.

BlueEyedCrypto.
Mar 18, 2025
Expert Q&A

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
0
1
Share
Comments
.

Answers

1
YJS.
YJS94
Mar 19 2025, 09:08

On 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.

2
Comments
.

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.

148Posts231Answers
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

Reward CampaignMay
We use cookies to ensure you get the best experience on our website.
More info