Click or drag to resize

GcmGmac Method

Compute GMAC using AES-GCM in one-off operation

Namespace: CryptoSysAPI
Assembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntax
public static byte[] Gmac(
	byte[] key,
	byte[] iv,
	byte[] msg
)

Parameters

key  Byte
Key: must be exactly 16, 24 or 32 bytes long.
iv  Byte
Initialization vector
msg  Byte
Message data

Return Value

Byte
GMAC value in 16-byte array, or empty array on error
Remarks
Use General.ErrorCode to find the code of the last error.
See Also