This commit is contained in:
qaiu committed 2024-10-23 18:04:34 +08:00
1 parent 821fc945cf
commit a3220c36c1
10 files changed
+305 -152

No files matched your search

@@ -167,8 +167,10 @@ public interface JsContent {
}
var salt = Math.round(Math.random() * 1000000000) % 100000000;
prand += salt;
var flag = 1;
while (prand.length > 10) {
prand = (parseInt(prand.substring(0, 10)) + parseInt(prand.substring(10, prand.length))).toString();
prand = (parseInt(prand.substring(0, 10)) + (flag ?parseFloat(prand.substring(10, prand.length)) : parseInt(prand.substring(10, prand.length)) )).toString();
flag = 0;
}
prand = (mult * prand + incr) % modu;
var enc_chr = "";