private void MatrixShiftDecode(object sender, RoutedEventArgs e) { MatrixShift algorithm = new MatrixShift(); string value = MatrixShiftDecodeInput.Text; MatrixShiftDecodeOutput.Text = algorithm.Decrypt(value); }
public void Setup() { railFence = new RailFence(); matrixShift = new MatrixShift(); matrixShiftB = new MatrixShiftB(); matrixShiftC = new MatrixShiftC(); ceasarCipher = new CeasarCipher(); vigenere = new Vigenere(); ciphertextAutokey = new CiphertextAutokey(); }