コード例 #1
0
        private void MatrixShiftDecode(object sender, RoutedEventArgs e)
        {
            MatrixShift algorithm = new MatrixShift();
            string      value     = MatrixShiftDecodeInput.Text;

            MatrixShiftDecodeOutput.Text = algorithm.Decrypt(value);
        }
コード例 #2
0
 public void Setup()
 {
     railFence         = new RailFence();
     matrixShift       = new MatrixShift();
     matrixShiftB      = new MatrixShiftB();
     matrixShiftC      = new MatrixShiftC();
     ceasarCipher      = new CeasarCipher();
     vigenere          = new Vigenere();
     ciphertextAutokey = new CiphertextAutokey();
 }