• λ我爱Aspx >> Asp.Net >> DOTNETc#之加密解密(对称)
  • DOTNETc#之加密解密(对称)

  • :未知  Դ:非寒日志  :2007-4-21 0:44:51  ؼ:c#,dotnet
  • 这个只是最简单的示例,用于了解加密解密的规则,并不是要了解代码是怎么写的,其实代码通过MSDN都可以查到

    最重要的是要知道一些思想。了解一个程序的解决方法,所以注释比较详细,希望大家能读懂!

    下载文件 点击下载此文件

    相关代码:

    using System;

    using System.Drawing;

    using System.Collections;

    using System.ComponentModel;

    using System.Windows.Forms;

    using System.Data;

    using System.IO;

    using System.Text;

    using System.Security.Cryptography;

    namespace Server

    {

    /// <summary>

    /// Form1 的摘要说明。

    /// </summary>

    public class Form1 : System.Windows.Forms.Form

    {

    private System.Windows.Forms.Button button1;

    private System.Windows.Forms.Button button2;

    private System.Windows.Forms.Button button3;

    private System.Windows.Forms.Button button4;

    private System.Windows.Forms.TextBox tboxOpenFileName;

    private System.Windows.Forms.TextBox tboxSaveFileName;

    private System.Windows.Forms.TextBox tboxKey1;

    private System.Windows.Forms.TextBox tboxIv1;

    private System.Windows.Forms.TextBox tboxKey2;

    private System.Windows.Forms.TextBox tboxIv2;

    private System.Windows.Forms.SaveFileDialog saveFileDialog1;

    private System.Windows.Forms.OpenFileDialog openFileDialog1;

    /// <summary>

    /// 必需的设计器变量。

    /// </summary>

    private System.ComponentModel.Container components = null;

    Ҷƪл˵?
  • һƪ真实的王婷婷昨晚现身大连晚报
    һƪ免费发放9个白度指数邀请!(发放完毕)