Crate bcrypt_bsd [] [src]

Rust wrapper around the BCrypt hashing algorithm implementation written in C by Solar Designer.

The C code is embedded into this crate and compiled using build script.

Structs

CryptError

BCrypt hashing error.

Functions

gen_salt

Generate salt for a BCrypt hash.

hash

Compute BCrypt hash from a password and salt.

to_str

Convert a nul-terminated byte slice into a borrowed string.