• 博客(0)
  • 资源 (1)

空空如也

c#源码 用DES算法实现文件加密解密

网上的类,很感兴趣,写了这个DES文件加密程序,已测试通过。 补充 button3_Click改为下述代码: private void button3_Click(object sender, EventArgs e) { sFileIn = this.textBox1.Text; sFileOut = this.textBox2.Text; TripleDES_ rsa1 = new TripleDES_("destroyer)(*&^%$#@!"); //RSA_ rsa2 = new RSA_(); if (this.radioButton1.Checked) { rsa1.Encrypt(sFileIn, sFileOut); } else { rsa1.Decrypt(sFileIn, sFileOut); } this.textBox3.Text = "OK!"; }

2009-04-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除