GcmBlockCipherInit Method

Definition

Namespace: Org.BouncyCastle.Crypto.Modes
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public void Init(
	bool forEncryption,
	ICipherParameters parameters
)

Parameters

forEncryption  Boolean
 
parameters  ICipherParameters
 

Implements

IAeadCipherInit(Boolean, ICipherParameters)

Remarks

MAC sizes from 32 bits to 128 bits (must be a multiple of 8) are supported. The default is 128 bits. Sizes less than 96 are not recommended, but are supported for specialized applications.

See Also