CryptoSys API Library Manual

Sha256.Hmac Method (Byte[], Byte[])

Computes the keyed hash digest of binary data using HMAC algorithm

Syntax

[C#]
public static string Hmac(
	byte[] data,
	byte[] key
)
[VB.NET]
Public Shared Function Hmac ( _
	data As Byte(), _
	key As Byte() _
) As String

Parameters

data
Data in array of bytes
key
Key in array of bytes

Return Value

Digest in hex format

See Also

VB6/C equivalent: SHA2_Hmac

[Contents] [Index]

[HOME]   [NEXT: Sha256.Hmac Method (String, String)...]

Copyright © 2001-10 D.I. Management Services Pty Ltd. All rights reserved.