(type)
| 130 | this.headerGet_h5 = {}; |
| 131 | } |
| 132 | getNonce(type) { |
| 133 | return type === "h5" |
| 134 | ? Array.from({ length: 6 }, () => |
| 135 | Math.floor(Math.random() * 36).toString(36) |
| 136 | ).join("") |
| 137 | : type === "android" |
| 138 | ? Math.floor(Math.random() * 900000) + 100000 |
| 139 | : ""; |
| 140 | } |
| 141 | async decrypt() { |
| 142 | let key = getRSADecryptResult_android(this.enKey) |
| 143 | //console.log(key) |
no outgoing calls
no test coverage detected