Documentation
¶
Index ¶
Constants ¶
View Source
const WordListVersion = "0.7"
WordListVersion is the version of compiled in word list.
Variables ¶
View Source
var WordList = []string{}/* 1633 elements not displayed */
Functions ¶
func EncodeWordList ¶
EncodeWordList encodes src into mnemomic words which are appended to dst. The final wordlist is returned. There will be WordsRequired(len(src)) words appeneded.
func WordsRequired ¶
WordsRequired returns the number of words required to encode input data of length bytes using mnomonic encoding.
Every four bytes of input is encoded into three words. If there is an extra one or two bytes they get an extra one or two words respectively. If there is an extra three bytes, they will be encoded into three words with the last word being one of a small set of very short words (only needed to encode the last 3 bits).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.