Documentation ¶
Overview ¶
Package mnemonic provides three exported functions for creating and verifying BIP39 phrases and seeds according to https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EntropyToPhraseAndSeed ¶
EntropyToPhraseAndSeed accepts entropy, optional passphrase and path to the word file. It then creates the phrase and the seed.
func PhraseToEntropyAndSeed ¶
PhraseToEntropyAndSeed take the phrase, optional passphrase and path to the word file. It then creates the entropy and the seed.
func VerifyPhraseAndSeed ¶
VerifyPhraseAndSeed takes phrase, optional passphrase and a seed checks if the phrase generates the same seed using the passphrase.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.