Crate argon2_sys[−][src]
Re-exports
pub use Argon2_type as argon2_type; | |
pub use Argon2_version as argon2_version; |
Structs
Argon2_Context |
Constants
Functions
argon2_ctx⚠ | Function that performs memory-hard hashing with certain degree of parallelism |
argon2_encodedlen⚠ | Returns the encoded hash length for the given input parameters |
argon2_error_message⚠ | Get the associated error message for given error code |
argon2_hash⚠ | |
argon2_type2string⚠ | Function that gives the string representation of an argon2_type. |
argon2_verify⚠ | |
argon2_verify_ctx⚠ | |
argon2d_ctx⚠ | Argon2d: Version of Argon2 that picks memory blocks depending on the password and salt. Only for side-channel-free environment!! |
argon2d_hash_encoded⚠ | |
argon2d_hash_raw⚠ | |
argon2d_verify⚠ | |
argon2d_verify_ctx⚠ | Verify if a given password is correct for Argon2d hashing |
argon2i_ctx⚠ | Argon2i: Version of Argon2 that picks memory blocks independent on the password and salt. Good for side-channels, but worse w.r.t. tradeoff attacks if only one pass is used. |
argon2i_hash_encoded⚠ | Hashes a password with Argon2i, producing an encoded hash |
argon2i_hash_raw⚠ | Hashes a password with Argon2i, producing a raw hash at @hash |
argon2i_verify⚠ | Verifies a password against an encoded string |
argon2i_verify_ctx⚠ | Verify if a given password is correct for Argon2i hashing @param context Pointer to current Argon2 context |
argon2id_ctx⚠ | Argon2id: Version of Argon2 where the first half-pass over memory is password-independent, the rest are password-dependent (on the password and salt). OK against side channels (they reduce to 1/2-pass Argon2i), and better with w.r.t. tradeoff attacks (similar to Argon2d). |
argon2id_hash_encoded⚠ | |
argon2id_hash_raw⚠ | |
argon2id_verify⚠ | |
argon2id_verify_ctx⚠ | Verify if a given password is correct for Argon2id hashing |
Type Definitions
Argon2_ErrorCodes | |
Argon2_type | |
Argon2_version | |
allocate_fptr | |
argon2_context | |
deallocate_fptr |