Search关键字:json.parse 网址:http://jzsc.mohurd.gov.cn/data/company
var CryptoJS = require("crypto-js")
function h(t) {
var e = CryptoJS.enc.Hex.parse(t),
n = CryptoJS.enc.Base64.stringify(e),
f = CryptoJS.enc.Utf8.parse("jo8j9wGw%6HbxfFn"),
m = CryptoJS.enc.Utf8.parse("0123456789ABCDEF"),
a = CryptoJS.AES.decrypt(n, f, {
iv: m,
mode: CryptoJS.mode.CBC,
padding: CryptoJS.pad.Pkcs7
}),
r = a.toString(CryptoJS.enc.Utf8);
return r.toString()
}
data = "68668686"
console.log(h(data))