ICryptographyProvider::ComputeHmacSha256Hash Method (array<Byte>^, array<Byte>^)

 

Computes the Hash-based Message Authentication Code (HMAC) by using the sha256 hash function.

Namespace:   Microsoft.WindowsAzure.Common.Platform
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

array<unsigned char>^ ComputeHmacSha256Hash(
	array<unsigned char>^ key,
	array<unsigned char>^ data
)

Parameters

key
Type: array<System::Byte>^

The cryptography key.

data
Type: array<System::Byte>^

The value of the computed hash code.

Return Value

Type: array<System::Byte>^

The computed HMAC.

Return to top
Show: