Exemplo n.º 1
0
        private void buttonGetCode_Click(object sender, EventArgs e)
        {
            string text  = this.textBoxInput.Text;
            string input = this.dateTimePicker1.Value.ToString();

            input = "2025/01/01 00:00:00";
            this.textBoxOutput.Text = ISecretHelper.IEncrypt(text, input);
            this.textBoxBac.Text    = ISecretHelper.IDecode(text, this.textBoxOutput.Text);
        }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            string text = this.textBoxInput.Text;

            this.textBoxBac.Text = ISecretHelper.IDecode(text, this.textBoxOutput.Text);
        }