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