Struct zxcvbn::time_estimates::CrackTimes [] [src]

pub struct CrackTimes {
    pub online_throttling_100_per_hour: u64,
    pub online_no_throttling_10_per_second: u64,
    pub offline_slow_hashing_1e4_per_second: u64,
    pub offline_fast_hashing_1e10_per_second: u64,
}

Back-of-the-envelope crack time estimations, in seconds, based on a few scenarios

Fields

Online attack on a service that rate-limits password attempts

Online attack on a service that doesn't rate-limit, or where an attacker has outsmarted rate-limiting.

Offline attack, assumes multiple attackers. Proper user-unique salting, and a slow hash function such as bcrypt, scrypt, PBKDF2.

Offline attack with user-unique salting but a fast hash function such as SHA-1, SHA-256, or MD5. A wide range of reasonable numbers anywhere from one billion to one trillion guesses per second, depending on number of cores and machines, ballparking at 10 billion per second.

Trait Implementations

impl Debug for CrackTimes
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for CrackTimes
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for CrackTimes
[src]

Auto Trait Implementations

impl Send for CrackTimes

impl Sync for CrackTimes