HmacBytesFromBytes Method |
Create a keyed-hash HMAC in byte format from byte input.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static byte[] BytesFromBytes(
byte[] message,
byte[] key,
HashAlgorithm hashAlg
)
Public Shared Function BytesFromBytes (
message As Byte(),
key As Byte(),
hashAlg As HashAlgorithm
) As Byte()
Parameters
- message Byte
- Message to be signed in byte format
- key Byte
- Key in byte format
- hashAlg HashAlgorithm
- Hash algorithm to be used
Return Value
ByteHMAC in byte format
See Also