public String encrypt() { ResultAccumulator encryptionResultAccumulator = new EncryptResultAccumulator(input); railwaize(input.Length, fenceSize, encryptionResultAccumulator); return(encryptionResultAccumulator.GetResult()); }
public string encrypt() { int tableLength = CalculateTableLength(input.Length, key.Length); ResultAccumulator encryptionResultAccumulator = new EncryptResultAccumulator(input, tableLength); ExchangeColumns(tableLength, key, encryptionResultAccumulator); return encryptionResultAccumulator.GetResult(); }
public string encrypt() { int tableLength = CalculateTableLength(input.Length, key.Length); ResultAccumulator encryptionResultAccumulator = new EncryptResultAccumulator(input, tableLength); ExchangeColumns(tableLength, key, encryptionResultAccumulator); return(encryptionResultAccumulator.GetResult()); }
public String encrypt() { ResultAccumulator encryptionResultAccumulator = new EncryptResultAccumulator(input); railwaize(input.Length, fenceSize, encryptionResultAccumulator); return encryptionResultAccumulator.GetResult(); }