js书写:
1.引入aes.js 因为就是它加密的! 调用下面函数 e 是要解密的data 如下:
var e='6B4A1A96364825CBF548BBDDFBB81F8513C30D4AB6E2BD0CA2D786CA1D55906F0C711BD22E4136B7F5FBCDF5C770BFEF982F0536D109ED8B3B7D1DA555007A1A4685FF50A54E09CFE35136E3B6D77C39EACA88CA3BE9206058302C090D17BBAD6BB72AF27EBCD33733B63D3185DBCB5DEBD1C6E97D32907DEC4984FECA9D200F67BF22694E96DD6D1A59C33FE0153155DFB638EFC59D75E851A55CE4802DF8C18D5C5DE0D77684CBC71A2A4F36883B4BE7964A05794D29459AA71984712AB14F56A8D869D4C94CA829BA881DF260C4A35D2FE0507BA72DD3ABA86BFCAEB451B8716F0CFC7AB2C9BA29006C1211CEC5E0AAF15BCBC73F5C5F79C28ADA0E38B9C8805DF6764F1C298CC56F411407D32C33B7563680DA79C8F3FACC502022525654';
function deAES(e){
var s = "sycmsycmsycmsycm";
var l = CryptoJS.enc.Utf8.parse(s);
var u = {
iv: CryptoJS.enc.Utf8.parse("mcysmcysmcysmcys"),
mode: CryptoJS.mode.CBC,
padding: CryptoJS.pad.Pkcs7
}
var need=JSON.parse(CryptoJS.AES.decrypt(function(e) {
return CryptoJS.enc.Base64.stringify(CryptoJS.enc.Hex.parse(e))
}(e), l, u).toString(CryptoJS.enc.Utf8));
return need;
}
解密后:
喜欢就点个赞!
Transit-Id 思路:是用 jsencrypt.js 加密,类似md5 加密一样 ,很简单的只有几步。
网友评论