• 大小: 0.04M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-26
  • 语言: C#
  • 标签: 加密  

资源简介

伪随机数加密

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PRanDataEncrypt
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender EventArgs e)
        {
            if (textBox3.Text != ““)
            {
                if (DecryptPwd(textBox3.Text) == textBox2.Text)
                    MessageBox.Show(“用户登录成功!“ “提示“ MessageBoxButtons.OK MessageBoxIcon.Information);
                else
                    MessageBox.Show(“用户密码错误!“ “错误“ MessageBoxButtons.OK MessageBoxIcon.Error);
            }
        }

        private void button2_Click(object sender EventArgs e)
        {
            textBox1.Text = textBox2.Text = textBox3.Text = string.Empty;
            textBox2.Focus();
        }

     

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-01-29 13:08  伪随机数加密\
     目录           0  2013-01-29 13:08  伪随机数加密\PRanDataEncrypt\
     文件         935  2008-12-13 10:13  伪随机数加密\PRanDataEncrypt.sln
     文件       24576  2009-01-04 09:23  伪随机数加密\PRanDataEncrypt.suo
     目录           0  2013-01-29 13:08  伪随机数加密\PRanDataEncrypt\bin\
     目录           0  2013-01-29 13:08  伪随机数加密\PRanDataEncrypt\bin\Debug\
     文件       11264  2008-12-15 15:20  伪随机数加密\PRanDataEncrypt\bin\Debug\PRanDataEncrypt.exe
     文件       24064  2008-12-15 15:20  伪随机数加密\PRanDataEncrypt\bin\Debug\PRanDataEncrypt.pdb
     文件       14328  2009-01-04 09:08  伪随机数加密\PRanDataEncrypt\bin\Debug\PRanDataEncrypt.vshost.exe
     文件         490  2007-07-21 01:33  伪随机数加密\PRanDataEncrypt\bin\Debug\PRanDataEncrypt.vshost.exe.manifest
     文件        3400  2008-12-15 15:19  伪随机数加密\PRanDataEncrypt\Form1.cs
     文件        6764  2008-12-15 15:19  伪随机数加密\PRanDataEncrypt\Form1.Designer.cs
     文件        5814  2008-12-15 15:19  伪随机数加密\PRanDataEncrypt\Form1.resx
     目录           0  2013-01-29 13:08  伪随机数加密\PRanDataEncrypt\obj\
     目录           0  2013-01-29 13:08  伪随机数加密\PRanDataEncrypt\obj\Debug\
     文件         804  2009-01-04 09:08  伪随机数加密\PRanDataEncrypt\obj\Debug\PRanDataEncrypt.csproj.FileListAbsolute.txt
     文件         847  2008-12-15 15:20  伪随机数加密\PRanDataEncrypt\obj\Debug\PRanDataEncrypt.csproj.GenerateResource.Cache
     文件       11264  2008-12-15 15:20  伪随机数加密\PRanDataEncrypt\obj\Debug\PRanDataEncrypt.exe
     文件         180  2008-12-15 15:20  伪随机数加密\PRanDataEncrypt\obj\Debug\PRanDataEncrypt.Form1.resources
     文件       24064  2008-12-15 15:20  伪随机数加密\PRanDataEncrypt\obj\Debug\PRanDataEncrypt.pdb
     文件         180  2008-12-15 15:20  伪随机数加密\PRanDataEncrypt\obj\Debug\PRanDataEncrypt.Properties.Resources.resources
     目录           0  2012-05-02 09:57  伪随机数加密\PRanDataEncrypt\obj\Debug\TempPE\
     文件        3776  2008-12-13 10:14  伪随机数加密\PRanDataEncrypt\PRanDataEncrypt.csproj
     文件         496  2008-12-13 10:13  伪随机数加密\PRanDataEncrypt\Program.cs
     目录           0  2013-01-29 13:08  伪随机数加密\PRanDataEncrypt\Properties\
     文件        1407  2008-12-13 10:13  伪随机数加密\PRanDataEncrypt\Properties\AssemblyInfo.cs
     文件        2880  2008-12-13 10:13  伪随机数加密\PRanDataEncrypt\Properties\Resources.Designer.cs
     文件        5612  2008-12-13 10:13  伪随机数加密\PRanDataEncrypt\Properties\Resources.resx
     文件        1100  2008-12-13 10:13  伪随机数加密\PRanDataEncrypt\Properties\Settings.Designer.cs
     文件         249  2008-12-13 10:13  伪随机数加密\PRanDataEncrypt\Properties\Settings.settings

评论

共有 条评论