public void Setup() { IRSA rsa = (T)Activator.CreateInstance(typeof(T), 1024); propagatingCipherBlockChaining = new PropagatingCipherBlockChaining(rsa); imageBlockCipher = new ImageBlockCipher(propagatingCipherBlockChaining); }
public void Setup() { IRSA rsa = (T)Activator.CreateInstance(typeof(T), 1024); electronicCodebook = new ElectronicCodebook(rsa); imageBlockCipher = new ImageBlockCipher(electronicCodebook); }
public PropagatingCipherBlockChainingTestsOnFiles() { IRSA rsa = (T)Activator.CreateInstance(typeof(T), 1024); imageBlockCipher = new ImageBlockCipher(new PropagatingCipherBlockChaining(rsa)); }
public CipherFeedback(IRSA rsa, BigInteger initializationVector) { this.rsa = rsa; this.InitializationVector = initializationVector; }
public CipherFeedback(IRSA rsa) { this.rsa = rsa; InitializationVector = BigIntegerExtensions.Random(BlockSize); }
public void Initialize() { serviceMock = new RSA(); }
public void Setup() { rsa = new MyRSA(1024); cipherFeedback = new CipherFeedback(rsa); imageBlockCipher = new ImageBlockCipher(cipherFeedback); }
public void Setup() { rsa = new MyRSA(1024); outputFeedback = new OutputFeedback(rsa); imageBlockCipher = new ImageBlockCipher(outputFeedback); }
public ElectronicCodebookTestsOnFiles() { IRSA rsa = (T)Activator.CreateInstance(typeof(T), 1024); imageBlockCipher = new ImageBlockCipher(new ElectronicCodebook(rsa)); }
public CipherBlockChaining(IRSA rsa, BigInteger initializationVector) { this.rsa = rsa; this.InitializationVector = initializationVector; }
public Counter(IRSA rsa, BigInteger initializationVector) { this.rsa = rsa; this.InitializationVector = initializationVector; }
public Counter(IRSA rsa) { this.rsa = rsa; InitializationVector = BigIntegerExtensions.Random(BlockSize); }
public ElectronicCodebook(IRSA rsa) { this.rsa = rsa; }
public void Initialize() { serviceMock = new AESService(); serviceRSAMock = new RSA(); }
public PropagatingCipherBlockChaining(IRSA rsa) { this.rsa = rsa; InitializationVector = BigIntegerExtensions.Random(BlockSize); }