Versions in this module Expand all Collapse all v1 v1.3.0 Apr 19, 2021 Changes in this version + var ErrChecksumIncorrect = errors.New("Checksum incorrect") + var ErrEntropyLengthInvalid = errors.New("Entropy length must be [128, 256] and a multiple of 32") + var ErrInvalidMnemonic = errors.New("Invalid mnenomic") + var ErrValidatedSeedLengthMismatch = errors.New("Seed length does not match validated seed length") + func EntropyFromMnemonic(mnemonic string) ([]byte, error) + func GetWordIndex(word string) (int, bool) + func GetWordList() []string + func IsMnemonicValid(mnemonic string) bool + func MnemonicToByteArray(mnemonic string, raw ...bool) ([]byte, error) + func NewEntropy(bitSize int) ([]byte, error) + func NewMnemonic(entropy []byte) (string, error) + func NewSeed(mnemonic string, password string) []byte + func NewSeedWithErrorChecking(mnemonic string, password string) ([]byte, error) + func SetWordList(list []string)