Exemplo n.º 1
0
        private void Encode()
        {
            var text        = InputRichTextBox.GetText();
            var encodedText = _selectedCipher.Encode(text, CharsDelimiter, WordsDelimiter);

            OutputRichTextBox.SetText(encodedText);
        }
Exemplo n.º 2
0
        private void ShowKeyButton_Click(object sender, RoutedEventArgs e)
        {
            var keys = _selectedCipher.GetKeysMapping();

            OutputRichTextBox.SetText(keys);
            _containKeys = true; // Used in mirror selection
        }