Argon2Verify(String, String) 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.178 -- Release Build+e530c5c0e31352f3de7b5819173c826f4dd2c6c7
public static bool Verify(
	string encoded,
	string password
)

Parameters

encoded  String
The Argon2 hash string. This has the actual hash along with other parameters used in the hash.
password  String
The password to verify. This gets UTF-8 encoded.

Return Value

Boolean
True on success; false otherwise.

See Also