SecurityHelperVerifyPBKDF2Hash Method |
Returns true in case given password matches given PBKDF2 hash.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax public static bool VerifyPBKDF2Hash(
string password,
string hash
)
Parameters
- password
- Type: SystemString
Password to be hashed and compared with hash. - hash
- Type: SystemString
Hash to compare hashed password with.
Return Value
Type:
BooleanTrue for hashes generated using
GetPBKDF2Hash method (for given password).
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown when password or hash are null. |
See Also