CryptoSys PKI .NET Class Library

Hmac.HexFromHex Method 

Creates a keyed-hash HMAC in hex-encoded format from hex-encoded input

[Visual Basic]
Public Shared Function HexFromHex( _
   ByVal messageHex As String, _
   ByVal keyHex As String, _
   ByVal hashAlg As HashAlgorithm _
) As String
[C#]
public static string HexFromHex(
   string messageHex,
   string keyHex,
   HashAlgorithm hashAlg
);

Parameters

messageHex
Message to be signed in hex-encoded format
keyHex
Key in hex-encoded format
hashAlg
Hash algorithm to be used

Return Value

HMAC in hex-encoded format

See Also

Hmac Class | CryptoSysPKI Namespace