Argon2Verify(String, Byte, Byte) Method

Verify the given Argon2 hash as being that of the given password.

Definition

Namespace: Gemstone.Security.Cryptography.Argon2Hash
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.182 -- Release Build+7f315b13e9b83bd74bc0f8c1a135608116d0e39d
public static bool Verify(
	string encoded,
	byte[] password,
	byte[]? secret
)

Parameters

encoded  String
The Argon2 hash string. This has the actual hash along with other parameters used in the hash.
password  Byte
The password to verify.
secret  Byte
The secret hashed into the password.

Return Value

Boolean
True on success; false otherwise.

See Also