MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / getNonce

Method getNonce

gqftbz.js:132–140  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

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)

Callers 3

getHeadersGet_androidMethod · 0.95
getHeadersPost_h5Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected