argon2i_verify_ctx

Function argon2i_verify_ctx 

Source
pub unsafe extern "C" fn argon2i_verify_ctx(
    context: *mut argon2_context,
    hash: *const c_char,
) -> c_int
Expand description

Verify if a given password is correct for Argon2i hashing @param context Pointer to current Argon2 context

@param hash The password hash to verify. The length of the hash is specified by the context outlen member

@return Zero if successful, a non zero error code otherwise