2 unstable releases

0.2.0 Jun 14, 2022
0.1.0 Jun 13, 2022

#9 in #diceware

22 downloads per month

GPL-3.0 license

315KB
506 lines

WordLists

Current Release: 0.2.0

License builds.sr.ht status Latest version Documentation

This package encodes a number of wordlists behind a somewhat unified interface. This interface is useful for:

  • Encoding binary data as a wordlist.
  • Encoding a UUID or number as a wordlist.
  • Generating a random wordlist.
  • Take a Wordlist and generate the binary from it.
  • Validate binary given a wordlist.
  • Confirm if a wordlist comes from a specific generator.

Utility of this package; while it has a number of sub-implementations, each is gated by a feature-flag.

Note on the package name...

I don't know what to call this package; but this is a package of word-lists, so that's what I called it. However, there is a squat-on package called 'wordlist', so there may eventually be issues here.

Alternatives

There are a lot of packages which encode "a wordlist" already, such as: eff-wordlist, diceware, chbs, among others. They are probably better than this package.

Dependencies

~1.6–2.2MB
~51K SLoC