ValidationHelper GetHashString Method Kentico 8.1 API Reference
Gets the SHA2 hash for the given value (salt unique to certain user session and database is added).

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

value
Type: OnlineSystem String
Value to hash
userSpecific (Optional)
Type: OnlineSystem Boolean
Indicates if the hash string should be bound to current user
customSalt (Optional)
Type: OnlineSystem String
Custom salt which is shared across all method callings.
hashSalt (Optional)
Type: OnlineSystem String
Hash salt string. This salt unique per method call, it represents the place from where the method is called.

Return Value

Type: OnlineString
See Also