KCcmBlockCipher(IBlockCipher, Int32) Constructor
Constructor allowing Nb configuration.
Nb is a parameter specified in CCM mode of DSTU7624 standard.
This parameter specifies maximum possible length of input.It should
be calculated as follows: Nb = 1 / 8 * (-3 + log[2]Nmax) + 1,
where Nmax - length of input message in bits.For practical reasons
Nmax usually less than 4Gb, e.g. for Nmax = 2^32 - 1, Nb = 4.
Namespace: Org.BouncyCastle.Crypto.ModesAssembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
Org.BouncyCastle.Crypto.Modes.KCcmBlockCipher = function(engine, Nb);
Parameters
- engine IBlockCipher
- base cipher to use under CCM.
- Nb Int32
- Nb value to use.