[][src]Crate bcrypt_only

Structs

Salt

A bcrypt salt.

WorkFactor

A bcrypt work factor.

Enums

BcryptError

A bcrypt hashing error.

Functions

bcrypt

Hashes a key and salt with bcrypt according to a work factor. The key can’t be longer than 72 bytes and can’t contain a 0 byte.