Versions in this module Expand all Collapse all v0 v0.0.1 Sep 9, 2021 Changes in this version + const BIP44Prefix + const BIPChange + const BIPCoinType + const BIPPurpose + const FullFundraiserPath + var BigOne = big.NewInt(1) + var BigTwo = big.NewInt(2) + var Last11BitsMask = big.NewInt(2047) + var RightShift11BitsDivider = big.NewInt(2048) + func IsMnemonicValid(mnemonic string, dic *WordDictionary) bool + func MnemonicToByteArray(mnemonic string, dic *WordDictionary) ([]byte, error) + func NewEntropy(bitSize int) ([]byte, error) + func NewMnemonic(entropy []byte, dic *WordDictionary) (string, error) + func NewSeed(mnemonic string, password string) []byte + func NewSeedWithErrorChecking(mnemonic string, password string, dic *WordDictionary) ([]byte, error) + func SetDict(lang string, words string, split string) + type WordDictionary struct + ReverseWordMap map[string]int + WordList []string + func ENUS() *WordDictionary + func GetDict(lang string) (*WordDictionary, bool) + func NewWordDictionary(words string, split string) *WordDictionary