bcrypt_elixir v0.1.0 Bcrypt.Base View Source

Link to this section Summary

Functions

Encrypt and return the hash

The main key expansion function

Initialize the P-box and S-box tables with the digits of Pi, and then start the key expansion process

Hash a password using Bcrypt

Link to this section Functions

Encrypt and return the hash.

Link to this function bf_expand0(state, input, input_len) View Source

The main key expansion function.

Link to this function bf_init(key, key_len, salt) View Source

Initialize the P-box and S-box tables with the digits of Pi, and then start the key expansion process.

Link to this function hash_password(password, salt) View Source

Hash a password using Bcrypt.

Link to this function verify_hash(stored_hash, password) View Source