Skip to main content

Crate compact_argon2

Crate compact_argon2 

Source

Structs§

Hash
An argon2id hash.
Params
Parameters for the argon2 hash function. Subset of argon2::Params.

Enums§

ParseError

Constants§

OUTPUT_SIZE
Serialized size of the [Hash] struct.

Functions§

hash
Hash a byte array with default argon2id params.
hash_with_memory
Hash a byte array with default argon2id params, and a specified allocation. See argon2::Argon2::hash_password_into_with_memory for implementation.
verify
Verify the given password against a [Hash] with the included argon2id params.
verify_with_memory
Verify the given password against a [Hash] with the included argon2id params, and a specified allocation. See argon2::Argon2::hash_password_into_with_memory for implementation.