Create a keyed-hash HMAC in hex-encoded format from byte input.
public static string HexFromBytes( byte[] message, byte[] key, HashAlgorithm hashAlg )
Public Shared Function HexFromBytes ( message As Byte(), key As Byte(), hashAlg As HashAlgorithm ) As String
// Hmac of <Test Case 1> with input in hex format string s = Hmac.HexFromHex("4869205468657265", "0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b", HashAlgorithm.Sha256); Console.WriteLine("HMAC-SHA-256('Hi There', (0x0b)*20)=\n{0}", s); // b0344c61d8db38535ca8afceaf0bf12b881dc200c9833da726e9376c2e32cff7
VB6/C equivalent: HMAC_HexFromBytes