1

I want to create a contract that stores encrypted data that is accessible only a selected user on the blockchain.

A ideal scenario would be to encrypt the data using the user's public key, such that the user can decrypt the data using their private key. Is there a public and private key equivalent on the Ethereum blockchain?

1 Answer 1

0

Is there a public and private key equivalent on the Ethereum blockchain?

It is possible to do public private key encryption with ethereum addresses: How to encrypt a message with the public-key of an Ethereum address

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.