Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Bip39Dictionary = []string{} /* 2048 elements not displayed */
View Source
var Slip39Dictionary = []string{} /* 1024 elements not displayed */
Functions ¶
This section is empty.
Types ¶
type Recoder ¶
type Recoder interface {
// Encode converts the input byte slice into a mnemonic.
Encode(data []byte) ([]string, error)
// Decode takes a mnemonic and returns the original byte slice.
Decode(mnemonic []string) ([]byte, error)
}
func NewDictionary ¶
NewDictionary creates a new Recoder instance using the provided slice of words. Returns an error if there are any problems with the words.
Click to show internal directories.
Click to hide internal directories.