在VS中用WindowsApplication做一个exe程序,用来给数据库密码加密,加密代码如下

 private void generateBtn_Click(object sender, EventArgs e)
        {
            string pwd = pwdtxt.Text;
            if(pwd==null ||pwd.Length==0)
            {
                return;
            }
            string resultPwd = EncryptDES(pwd,"");
            resultPwdTxt.Text = resultPwd;
        }
加密生成按钮代码

相关文章:

  • 2021-06-24
  • 2021-05-25
  • 2022-12-23
  • 2021-11-16
  • 2022-12-23
  • 2022-01-26
  • 2022-12-23
猜你喜欢
  • 2021-06-06
  • 2021-08-23
  • 2021-09-15
  • 2021-07-19
  • 2021-06-19
相关资源
相似解决方案