* 16位随机数 * @returns
()
| 724 | * @returns |
| 725 | */ |
| 726 | function KO() { |
| 727 | let e = Math.random().toString(36).substr(2); |
| 728 | for (; e.length < 16;) e += Math.random().toString(36).substr(2); |
| 729 | return (e = e.substr(0, 16)), e; |
| 730 | } |
| 731 | function AES_CBC_Encrypt(data, key, iv) { |
| 732 | key = CryptoJS.enc.Utf8.parse(key); |
| 733 | iv = CryptoJS.enc.Utf8.parse(iv); |
no outgoing calls
no test coverage detected