Crate bcrypt [] [src]

Easily hash and verify passwords using bcrypt

Statics

DEFAULT_COST

Functions

hash

Generates a password hash using the cost given. The salt is generated randomly using the OS randomness

verify

Verify that a password is equivalent to the hash provided