3 ms·
What is the recommended way of deriving a private key from a password and/or passphrase? Any pointers to relevant literature will also help.
by _448 4y ago
What is the recommended way of deriving a private key from a password and/or passphrase?
Any pointers to relevant literature will also help.
- TillE 4y agoTypically you don't need to know much more than what the libsodium docs tell you: https://libsodium.gitbook.io/doc/password_hashing https://libsodium.gitbook.io/doc/password_hashing
- adrian_b 4y agoYes, that is a very good choice. It uses the Argon2 algorithm (RFC9106). I have studied Argon2 and in my opinion it really is an improvement over the older methods.
- _448 4y agoThank you for the link! I will go through it. And is there a way to derive a public key using a derived private key, say, for example, by using ECC?
- some_furry 4y agocrypto_box_seed_keypair() Or for signatures, crypto_sign_seed_keypair(). Use the output of Argon2 as the seed.
- _448 4y agoThank you very much. That was really helpful!