Click or drag to resize
SecurityHelperGetHMACSHA2Hash Method
Returns HMAC SHA256 hash for input data with key.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static string GetHMACSHA2Hash(
	string inputData,
	byte[] key
)

Parameters

inputData
Type: SystemString
Data to be hashed.
key
Type: SystemByte
Key on which data will be hashed.

Return Value

Type: String
See Also