Argon2Verify(String, Argon2Config) 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.170 -- Release Build+ca3065dc8f8b84c59ee38bd3367c3e71f3818071
public static bool Verify(
	string encoded,
	Argon2Config configToVerify
)

Parameters

encoded  String
The Argon2 hash string. This has the actual hash along with other parameters used in the hash.
configToVerify  Argon2Config
The configuration that contains the values used to created encoded.

Return Value

Boolean
True on success; false otherwise.

See Also