Age | Commit message (Collapse) | Author |
|
|
|
|
|
Instead of picking random words via a random choice function, we
generate a 13 * key_length bit random int as the key. We humanize the key by
splitting it up into 13 bit segments and using the 13 bits as an index
into the word list.
This allows us to store the keys in binary form which is faster and
uses less space.
|
|
|
|
The old wordlist had duplicate entries, and was too short after
dedupe'ing (we need 2**13 words).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Define all sources at the top level meson.build so that they get
installed in the correct subdir.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|