argon2i_verify

Function argon2i_verify 

Source
pub unsafe extern "C" fn argon2i_verify(
    encoded: *const c_char,
    pwd: *const c_void,
    pwdlen: size_t,
) -> c_int
Expand description

Verifies a password against an encoded string

Encoded string is restricted as in validate_inputs()

@param encoded String encoding parameters, salt, hash

@param pwd Pointer to password

@pre Returns ARGON2_OK if successful