How to add a passphrase to an ed25519 private key? #107
-
Apologies for this silly question. But can you tell me how I can protect the private key with a passphrase. Should I use AES-GCM to encrypt the private key? How do I derive the AES-GCM key with a passphrase? |
Beta Was this translation helpful? Give feedback.
Answered by
paulmillr
Dec 13, 2024
Replies: 1 comment
-
You can use PBKDF2 or argon2id to derive aes-gcm key from passphrase. they are available in noble-hashes |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mohitatray
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use PBKDF2 or argon2id to derive aes-gcm key from passphrase. they are available in noble-hashes