你的位置:首页 > ASP.net教程

[ASP.net教程]C#加密类


       var es= EncryptSugar.GetInstance();       string word = "abc";       var wordEncrypt = es.Encrypto(word);//加密       var wordDecrypt = es.Decrypto(wordEncrypt);//解密       var wordMd5 = es.MD5(word);//md5加密

  

 

using System;using System.Collections.Generic;using System.Text;using System.Security.Cryptography;using System.