3 votes

Now that eth_decrypt and eth_getEncryptionPublicKey are deprecated, is there a good way to encrypt and decrypt data via a user's private key?

I'm not sure if it's the same way you with me but I was using metamask for something like this before, but it's not suggested anymore. Also metamask deprecated its related method. The main reason is ...
Salih Cemil Cetin's user avatar
1 vote
Accepted

Use private key to encode your own public address

Until the others don't know what that public address is, is the message safe? Yes. If you encrypt a message and post it on-chain, you can create what is called a commit and reveal scheme. Note that ...
Mikko Ohtamaa's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible