Compute GMAC using AES-GCM in one-off operation
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntaxpublic static byte[] Gmac(
byte[] key,
byte[] iv,
byte[] msg
)
Public Shared Function Gmac (
key As Byte(),
iv As Byte(),
msg As Byte()
) As Byte()
Parameters
- key Byte
- Key: must be exactly 16, 24 or 32 bytes long.
- iv Byte
- Initialization vector
- msg Byte
- Message data
Return Value
ByteGMAC value in 16-byte array, or empty array on error
Remarks
See Also