Computes MAC value in byte format from byte input
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntaxpublic static byte[] BytesFromBytes(
byte[] message,
byte[] key,
MacAlgorithm macAlg
)
Public Shared Function BytesFromBytes (
message As Byte(),
key As Byte(),
macAlg As MacAlgorithm
) As Byte()
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
ByteMAC in byte format
See Also