bcrypt 0.1.3

Easily hash and verify passwords using bcrypt

Crate bcrypt [] [src]

Easily hash and verify passwords using bcrypt

Enums

BcryptError

All the errors we can encounter while hashing/verifying passwords

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

Type Definitions

BcryptResult

Library generic result type.