private void MatrixShiftCEncode(object sender, RoutedEventArgs e) { MatrixShiftC algorithm = new MatrixShiftC(); string value = MatrixShiftCEncodeInput.Text; string key = MatrixShiftCEncodeKeyInput.Text; MatrixShiftCEncodeOutput.Text = algorithm.Encrypt(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(); }