首页 > 代码库 > DES加密

DES加密

先引入des的就是文件

前台加密

strEnc(accNum,"1","2","3")

 

后台解密:

Des desObj = new Des();
String accNum = desObj.strDec(accNum1,"1","2","3");
log.info(" wxOpenId ="+wxOpenId);

DES加密