-
Notifications
You must be signed in to change notification settings - Fork 153
Data encryption #398
-
Hello, I'm trying to encrypt/decrypt private messages between 2 parties rather than sign/verify. I just want to know if Solnet supports that?
Beta Was this translation helpful? Give feedback.
All reactions
Technically Solnet does not support this, Ed25519 keys used by Solana are not technically secure for encryption and decryption as they are specifically made for EdDSA, the edwards curve digital signature algorithm. You can convert these keys to X25519 and thus perform encryption and decryption using those keys, but it is not a trivial thing to do. Here's a cool read about it.
Replies: 1 comment 1 reply
-
Technically Solnet does not support this, Ed25519 keys used by Solana are not technically secure for encryption and decryption as they are specifically made for EdDSA, the edwards curve digital signature algorithm. You can convert these keys to X25519 and thus perform encryption and decryption using those keys, but it is not a trivial thing to do. Here's a cool read about it.
Beta Was this translation helpful? Give feedback.
All reactions
-
Thank you for reply
Beta Was this translation helpful? Give feedback.