这个加密类是与java写的DES加密不同时,自己写的,最后与Java的加密相同了,解决了加密后不同的问题. 可以直接调用里面的加密和解密的方法. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Text; using System.Security.Cryptography; using System.IO; namespace EallNum.He…
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Security.Cryptography; using System.IO; using System.Data; using System.Data.SQLite; using System.Web; using System.Runtime.InteropServices; namespace…
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.Tex…