GCTRBlockCipher constructor
GCTRBlockCipher(
- BlockCipher _underlyingCipher
Implementation
GCTRBlockCipher(this._underlyingCipher) {
if (blockSize != 8) {
throw ArgumentError('GCTR can only be used with 64 bit block ciphers');
}
_iv = Uint8List(_underlyingCipher.blockSize);
_ofbV = Uint8List(_underlyingCipher.blockSize);
_ofbOutV = Uint8List(_underlyingCipher.blockSize);
}