public MainWindow() { InitializeComponent(); DataContext = new VigenereCipherViewModel(); string tmp = VigenereCipher.EncryptMessage("ATTACKATDAWN", "LEMONLEMONLE"); VigenereCipher.DecryptMessage(tmp, "LEMONLEMONLE"); VigenereCipher.test(); }
private void Decrypt(object obj) { PlainText = VigenereCipher.DecryptMessage(cipherText, key); }