Click or drag to resize
QueryHelperValidateHashString Method (String, String, String, String)
Validates given value against hash.

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

Parameters

value
Type: SystemString
Value to validate
hash
Type: SystemString
Hash value
purpose
Type: SystemString
Hash purpose
salt (Optional)
Type: SystemString
Custom hash salt

Return Value

Type: Boolean
True if hash is valid.
See Also