[][src]Function argon2::id_verify

pub fn id_verify(encoded: &CStr, pwd: Option<&[u8]>) -> Result<(), Error>

Verifies a password against an encoded string using Argon2id.

Parameters

  • encoded: String encoding parameters, salt, hash.
  • pwd: Slice containing password.