Enum qwerty::Distribution[][src]

pub enum Distribution {
    Alphanumeric,
    Ascii,
    Diceware,
    EffDiceware,
}

The types of distributions available to select passwords from.

Variants

Alphanumeric uniform distribution.

Samples a char, uniformly distributed over ASCII letters, and numbers: a-z, A-Z, and 0-9.

Ascii uniform distribution.

Sample a char, uniformly distributed over ASCII letters, numbers, and symbols: a-z, A-Z, 0-9 and !"#$%&'()*+,-./:;<=>?@`~[]{}^_| .

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.

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]

Formats the value using the given formatter. Read more

Auto Trait Implementations