Computes MAC value in hex-encoded format from byte input
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntaxpublic static string HexFromBytes(
byte[] message,
byte[] key,
MacAlgorithm macAlg
)
Public Shared Function HexFromBytes (
message As Byte(),
key As Byte(),
macAlg As MacAlgorithm
) As String
Parameters
- message Byte
- Message to be signed in byte format
- key Byte
- Key in byte format
- macAlg MacAlgorithm
- MAC algorithm to be used
Return Value
StringMAC in hex-encoded format
See Also