Crate pbkdf2[][src]

This crate implements the Scrypt key derivation function as specified in RFC 2898.

If you are not using convinience functions pbkdf2_check and pbkdf2_simple it's recommended to disable pbkdf2 default features in your Cargo.toml:

[dependencies]
scrypt = { version = "0.1", default-features = false }

Enums

CheckError

pbkdf2_check error

Functions

pbkdf2

Generic implementation of PBKDF2 algorithm.

pbkdf2_check

Compares a password against the result of a pbkdf2_simple.

pbkdf2_simple

A helper function that should be sufficient for the majority of cases where an application needs to use PBKDF2 to hash a password for storage.