public CmacTdes(IBlockCipherEngineFactory engineFactory, IModeBlockCipherFactory modeFactory) { Engine = engineFactory.GetSymmetricCipherPrimitive(BlockCipherEngines.Tdes); AlgoMode = modeFactory.GetStandardCipher(Engine, BlockCipherModesOfOperation.Ecb); }
public EcbBlockCipher(IBlockCipherEngine engine) : base(engine) { }
public XtsBlockCipher(IBlockCipherEngine engine) { _engine = engine; }
public CtrBlockCipher(IBlockCipherEngine engine, ICounter counter) : base(engine) { _counter = counter; }
public ICounterModeBlockCipher GetIvExtractor(IBlockCipherEngine engine) { return(new CtrBlockCipher(engine, null)); }
public CbcMacBlockCipher(IBlockCipherEngine engine) : base(engine) { }
public Ff3BlockCipher(IBlockCipherEngine engine, IModeBlockCipherFactory factory, IAesFfInternals ffInternals) : base(engine, factory, ffInternals) { }
public IModeBlockCipher <SymmetricCounterResult> GetCounterCipher(IBlockCipherEngine engine, ICounter counter) { return(new CtrBlockCipher(engine, counter)); }
public void TransformCiphertext(byte[] ciphertext, IBlockCipherEngine engine, int numberOfBlocks, int originalPayloadBitLength) { TransformText(ciphertext, engine, numberOfBlocks, originalPayloadBitLength); }
public ShiftRegisterStrategyFullBlock(IBlockCipherEngine engine) { _engine = engine; }
public ShiftRegisterStrategyByte(IBlockCipherEngine engine) { _engine = engine; }
public CbcCtsBlockCipher(IBlockCipherEngine engine, ICiphertextStealingTransform ciphertextStealingTransform) : base(engine) { _ciphertextStealingTransform = ciphertextStealingTransform; }
public CfbBlockCipher(IBlockCipherEngine engine, IShiftRegisterStrategy shiftRegisterStrategy) : base(engine) { _shiftRegisterStrategy = shiftRegisterStrategy; }