Module argonautica::config [−][src]
Structs
HasherConfig |
Read-only configuration for |
VerifierConfig |
Read-only configuration for |
Enums
Backend |
Enum representing the choice between a C implementation of the Argon2 algorithm or a Rust implementation. Currently only a C implemenation is supported. You will get an error if you choose the Rust backend. The intention is to write a Rust implementation in the future. |
Variant |
Enum representing the various variants of the Argon2 algorithm (
|
Version |
Enum representing the various versions of the Argon2 algorithm (
|
Constants
DEFAULT_BACKEND | |
DEFAULT_HASH_LEN |
|
DEFAULT_ITERATIONS |
|
DEFAULT_MEMORY_SIZE |
|
DEFAULT_OPT_OUT_OF_SECRET_KEY |
|
DEFAULT_PASSWORD_CLEARING |
|
DEFAULT_SALT_LEN |
|
DEFAULT_SECRET_KEY_CLEARING |
|
DEFAULT_VARIANT | |
DEFAULT_VERSION |
Functions
default_cpu_pool |
Returns a |
default_lanes |
Returns the number of logical cores on your machine |
default_threads |
Returns the number of logical cores on your machine |