Browse Source

无JIRA任务 改多了

es6
windy 6 years ago
parent
commit
3c90049c21
  1. 2
      src/core/utils/aes.js

2
src/core/utils/aes.js

@ -2317,7 +2317,7 @@
*
* var ciphertext = BI.aesEncrypt(text, key);
*/
encrypt: function (text, key) {
aesEncrypt: function (text, key) {
key = CryptoJS.enc.Utf8.parse(key);
var cipher = CryptoJS.AES.encrypt(text, key, {
mode: CryptoJS.mode.ECB,

Loading…
Cancel
Save