You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.
I saw cryptography module always assume the use of a passphrase to get the keys.
Is there a way through the cryptography module to craft a getAddressFromPrivateKey method?
and so the get a public or address from a privateKey instead of a passphrase?
I used this at the moment nacl.sign.keyPair.fromSecretKey(Buffer.from(privKey, 'hex'))
The text was updated successfully, but these errors were encountered:
We currently don't have functionality in cryptography module to support this feature, however we will include it in 2.1 release. For the time being I would recommend the nacl function you are already utilizing.
I saw cryptography module always assume the use of a passphrase to get the keys.
Is there a way through the
cryptography
module to craft agetAddressFromPrivateKey
method?and so the get a public or address from a privateKey instead of a passphrase?
I used this at the moment
nacl.sign.keyPair.fromSecretKey(Buffer.from(privKey, 'hex'))
The text was updated successfully, but these errors were encountered: