Documentation ¶
Index ¶
- Variables
- func IsMnemonicValid(mnemonic string) bool
- func MnemonicToByteArray(mnemonic string) ([]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)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Last11BitsMask = big.NewInt(2047) RightShift11BitsDivider = big.NewInt(2048) BigOne = big.NewInt(1) BigTwo = big.NewInt(2) )
Some bitwise operands for working with big.Ints
View Source
var EnglishWordList = strings.Split(englishWordList, "\n")
Language-specific wordlists
View Source
var ReverseWordMap map[string]int = map[string]int{}
View Source
var WordList = EnglishWordList
The wordlist to use
Functions ¶
func IsMnemonicValid ¶
func MnemonicToByteArray ¶
func NewEntropy ¶
func NewMnemonic ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.