Enum qwerty::Distribution [−][src]
pub enum Distribution { Alphanumeric, Ascii, Diceware, EffDiceware, }
The types of distributions available to select passwords from.
Variants
Alphanumeric
Alphanumeric uniform distribution.
Samples a char
, uniformly distributed over ASCII letters, and numbers:
a-z, A-Z, and 0-9.
Ascii
Ascii uniform distribution.
Sample a char
, uniformly distributed over ASCII letters, numbers, and symbols:
a-z, A-Z, 0-9 and !"#$%&'()*+,-./:;<=>?@`~[]{}^_| .
Diceware
A uniform distribution over the standard diceware wordlist.
The complete list contains 7776 short words, abbreviations and easy-to-remember character strings. The average length of each word is about 4.2 characters. The biggest words are six characters long.
EffDiceware
A uniform distribution over the standard diceware wordlist.
The complete list contains 7776 short words, abbreviations and easy-to-remember character strings. The list has an average length of 7.0 characters per word, and 12.9 bits of entropy per word, yielding an efficiency of 1.8 bits of entropy per character.
Trait Implementations
impl Debug for Distribution
[src]
impl Debug for Distribution
Auto Trait Implementations
impl Send for Distribution
impl Send for Distribution
impl Sync for Distribution
impl Sync for Distribution