-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Public key / Private key encryption using polkadot lib? #929
Comments
For ed25519 pairs there is a seal/open pairing -
It is not available for sr25519 (see #633), nor ecdsa |
Thank You..it was really helpful! |
without NaclBoxKeyPair, can we encrypt/decrypt message using the normal public key and private key pair which a nemonic already have ? |
No, there is no sr25519 exposed interfaces, see #633 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query. |
I'm building a substrate blockchain backed by polkadot js. While working on a task I have a requirement of public/private key encryption and decryption. for ex: Bob wants to send Alice an encrypted email. To do this, Bob takes Alice's public key and encrypts his message to her. Then, when Alice receives the message, she takes the private key that is known only to her in order to decrypt the message from Bob. Does anyone know how this is done through Polkadot js library? Help will be appreciated!
The text was updated successfully, but these errors were encountered: