Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidPath = errors.New("invalid HD path") ErrInvalidMnemonic = errors.New("invalid BIP-39 mnemonic") )
Functions ¶
func BIP39ToAgeIdentity ¶
func BIP39ToAgeIdentity(mnemonic, passphrase string) (*age.X25519Identity, error)
DeriveAgeIdentity creates age identity from BIP-32 path, BIP-39 mnemonic and passphrase
func Derive ¶
func Derive(path, mnemonic, passphrase string) (*ecdsa.PrivateKey, error)
Derive creates ecdsa private key from BIP-32 path, BIP-39 mnemonic and passphrase
func DeriveAgeIdentity ¶
func DeriveAgeIdentity(path, mnemonic, passphrase string) (*age.X25519Identity, error)
DeriveAgeIdentity creates age identity from BIP-32 path, BIP-39 mnemonic and passphrase
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.