[][src]Function argon2::i_verify_ctx

pub fn i_verify_ctx<C: TryInto<Argon2_Context, Error = Error>>(
    context: C,
    hash: &[u8]
) -> Result<(), Error>

Verify if a given password is correct for Argon2i hashing.

Parameters

  • context: The current Argon2 context.
  • hash: The password hash to verify. The length of the hash must match the length of the out parameter in context.