public CfbpBlockCipher(IBlockCipherEngine engine, IShiftRegisterStrategy shiftRegisterStrategy) : base(engine) { _shiftRegisterStrategy = shiftRegisterStrategy; if (engine.BlockSizeBits != 64) { throw new NotSupportedException("Mode valid only with TDES Engine"); } }
public CfbBlockCipher(IBlockCipherEngine engine, IShiftRegisterStrategy shiftRegisterStrategy) : base(engine) { _shiftRegisterStrategy = shiftRegisterStrategy; }