public String decrypt()
        {
            ResultAccumulator decryptionResultAccumulator = new DecryptResultAccumulator(input);

            railwaize(input.Length, fenceSize, decryptionResultAccumulator);
            return(decryptionResultAccumulator.GetResult());
        }
 public string decrypt()
 {
     int tableLength = CalculateTableLength(input.Length, key.Length);
     ResultAccumulator decryptionResultAccumulator = new DecryptResultAccumulator(input, tableLength);
     ExchangeColumns(tableLength, key, decryptionResultAccumulator);
     return decryptionResultAccumulator.GetResult();
 }
Beispiel #3
0
        public string decrypt()
        {
            int tableLength = CalculateTableLength(input.Length, key.Length);
            ResultAccumulator decryptionResultAccumulator = new DecryptResultAccumulator(input, tableLength);

            ExchangeColumns(tableLength, key, decryptionResultAccumulator);
            return(decryptionResultAccumulator.GetResult());
        }
 public String decrypt()
 {
     ResultAccumulator decryptionResultAccumulator = new DecryptResultAccumulator(input);
     railwaize(input.Length, fenceSize, decryptionResultAccumulator);
     return decryptionResultAccumulator.GetResult();
 }