Click or drag to resize
ValidationHelperValidateHash Method (String, String, String, String)
Validates the hash for the given value.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static bool ValidateHash(
	string value,
	string hash,
	string purpose,
	string hashSalt = ""
)

Parameters

value
Type: SystemString
Value
hash
Type: SystemString
Hash
purpose
Type: SystemString
Purpose of the hash
hashSalt (Optional)
Type: SystemString
Custom hash salt

Return Value

Type: Boolean
See Also