[−][src]Module chbs::word
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
WordList | A wordlist. |
WordSampler | An iterator uniformly sampling words. |
Enums
WordListError | A |
Constants
BUILTIN_EFF_GENERAL_SHORT | The built-in EFF general short wordlist words. |
BUILTIN_EFF_LARGE | The built-in EFF large wordlist words. |
BUILTIN_EFF_SHORT | The built-in EFF short wordlist words. |