// Posted By Suresh Chand Jangid
//Encrytion In C#
Byte[] b = System.Text.ASCIIEncoding.ASCII.GetBytes(TextBox1.Text);
TextBox2.Text = Convert.ToBase64String(b);
//Decryption In C#
Byte[] b = Convert.FromBase64String(TextBox2.Text);
TextBox4.Text = System.Text.ASCIIEncoding.ASCII.GetString(b); }
No comments:
Post a Comment