protected void btn_JM_Click(object sender, EventArgs e) { string miwen = TextBox4.Text; string ssokey = TextBox5.Text; string yuanwen = DesUrl.Decrypt(miwen, ssokey); Response.Write(yuanwen); }
protected void Button1_Click(object sender, EventArgs e) { string s = TextBox1.Text; string s1 = DesUrl.Encrypt(s, "12345678"); string s2 = DesUrl.Decrypt(s1, "12345678"); TextBox2.Text = s1; TextBox3.Text = s2; }