Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Data encryption #398

Answered by hoakbuilds
sh4hri4roo asked this question in Q&A
Discussion options

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?

You must be logged in to vote

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

Comment options

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.

You must be logged in to vote
1 reply
Comment options

Thank you for reply

Answer selected by sh4hri4roo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /