Exemplo n.º 1
0
 public DTEncryption(IBlockMatrixBuilder builder, IEncryptionBlockMatrixFiller filler, IBlockMatrixSorter sorter, IMatrixConverter <String> converter)
 {
     matrixBuilder   = builder;
     matrixFiller    = filler;
     matrixSorter    = sorter;
     matrixConverter = converter;
 }
Exemplo n.º 2
0
 public DTEncryption()
 {
     matrixBuilder   = new BlockMatrixBuilder();
     matrixFiller    = new EncryptionBlockMatrixFiller();
     matrixSorter    = new EncryptionBlockMatrixSorter();
     matrixConverter = new EncryptionBlockMatrixConverter();
 }
Exemplo n.º 3
0
 public MatrixRepository(IMatrixConverter matrixConverter)
 {
     _matrixConverter = matrixConverter;
 }
 public void OneTimeSetUp()
 {
     _converter = new MatrixConverter();
 }
Exemplo n.º 5
0
 public DTDecryption(BlockMatrixBuilder matrixBuilder, IDecryptionBlockMatrixFiller matrixFiller, IMatrixConverter <string> matrixConverter)
 {
     this.matrixBuilder   = matrixBuilder;
     this.matrixFiller    = matrixFiller;
     this.matrixConverter = matrixConverter;
 }
Exemplo n.º 6
0
 public DTDecryption()
 {
     this.matrixBuilder   = new BlockMatrixBuilder();
     this.matrixFiller    = new DecryptionBlockMatrixFiller();
     this.matrixConverter = new DecryptionBlockMatrixConverter();
 }