Documentation
¶
Overview ¶
Package mnemonic provides functions to generate mnemonic phrases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrWordsNumberInvalid is returned when trying to generate mnemonic with invalid words number. ErrWordsNumberInvalid = errors.New("mnemonic words number must be [12, 24] and a multiple of 3") ErrInvalidMnemonic = errors.New("invalid mnemonic") )
Functions ¶
func FromEntropy ¶
FromEntropy will return a mnemonic string for the given hex-encoded entropy.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.