Module chbs::word

source · []
Expand description

Utilities for collecting and generating words for in a passphrase

This module provides various constructs for collecting and/or generating words to use in a passphrase.

The WordList structure is used for static wordlists, which may be uniformly sampled using a WordSampler.

Constants holding a static built-in wordlist are included so providing your own wordlist is not required, see the BUILTIN_ constants. These lists can easily be loaded using the buildin_ methods on WordList.

Structs

A wordlist.

An iterator uniformly sampling words.

Enums

Constants

The built-in EFF general short wordlist words.

The built-in EFF large wordlist words.

The built-in EFF short wordlist words.