Share via


ICryptographyProvider.ComputeHmacSha256Hash Method (Byte[], 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)

Syntax

byte[] ComputeHmacSha256Hash(
    byte[] key,
    byte[] data
)
array<unsigned char>^ ComputeHmacSha256Hash(
    array<unsigned char>^ key,
    array<unsigned char>^ data
)
abstract ComputeHmacSha256Hash : 
        key:byte[] *
        data:byte[] -> byte[]
Function ComputeHmacSha256Hash (
    key As Byte(),
    data As Byte()
) As Byte()

Parameters

  • data
    Type: System.Byte[]

    The value of the computed hash code.

Return Value

Type: System.Byte[]

The computed HMAC.

See Also

ICryptographyProvider Interface
Microsoft.WindowsAzure.Common.Platform Namespace

Return to top