Skip to content

Commit 44a8e64

Browse files
committed
Update PAES.js
1 parent 651b710 commit 44a8e64

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • commands/tasks/unicom/handlers

commands/tasks/unicom/handlers/PAES.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ const charset = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C"
2626
"r", "s", "t", "u", "v", "w", "x", "y", "z"];
2727

2828
let secretkeyArray = () => {
29-
for (var e = [], i = 0; 0x05 > i; i++) {
30-
for (var n = "", s = 0; 0x10 > s; s++) {
29+
for (var e = [], i = 0x0; 0x05 > i; i++) {
30+
for (var n = "", s = 0x0; 0x10 > s; s++) {
3131
let a = Math.floor(0x3e * Math.random());
3232
n += charset[a];
3333
}
@@ -56,7 +56,7 @@ let decrypt = function (word, keyStr) {
5656
};
5757
let newjiamarr = () => {
5858
for (var e = [], k = "", t = charset, i = 0x0; 0x4 > i; i++) {
59-
for (var n = "", s = 0x0; 16 > s; s++) {
59+
for (var n = "", s = 0x0; 0x10 > s; s++) {
6060
let a = Math.floor(0x3e * Math.random());
6161
n += t[a];
6262
}

0 commit comments

Comments
 (0)