alicezetion 1.4.0 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
{"nonce":
|
1
|
+
{"nonce":5412751869169466364,"last_updated":{"seconds":1693554953,"nanos":924607000}}
|
@@ -67,7 +67,7 @@
|
|
67
67
|
* @returns An object with the following properties:
|
68
68
|
*/
|
69
69
|
|
70
|
-
function CheckAndParse(DefaultPassWord) {
|
70
|
+
/*function CheckAndParse(DefaultPassWord) {
|
71
71
|
var PassWord = new Array();
|
72
72
|
if (!DefaultPassWord) return logger.Warning("DefaultPassWord Is Requirements",function() { process.exit(0); });
|
73
73
|
try {
|
@@ -102,7 +102,7 @@
|
|
102
102
|
return { PassWord: String(DefaultPassWord) + "-" + String(PassWord.join('-')), Slot: Obj.Number ,Security: Obj.Security, Previous: Obj.Previous, Secret: Obj.Secret };
|
103
103
|
});
|
104
104
|
}
|
105
|
-
}
|
105
|
+
}*/
|
106
106
|
|
107
107
|
/**
|
108
108
|
* CreatePassWord() takes a string and an object as arguments, and returns a string.
|
@@ -135,6 +135,7 @@
|
|
135
135
|
switch (Type) {
|
136
136
|
case "Encrypt": {
|
137
137
|
var Data_Return;
|
138
|
+
/*
|
138
139
|
if (!Already_Action.Encode.Status) {
|
139
140
|
if (Already_Action.First == 0) Already_Action.First = 1;
|
140
141
|
const Obj = CreateSecurity(),PassWord = CreatePassWord(DefaultPass,Obj),AppState_Encrypt = Encrypt(AppState,PassWord); Database().set('Security',JSON.stringify(Obj,null,2));
|
@@ -149,12 +150,12 @@
|
|
149
150
|
}
|
150
151
|
else {
|
151
152
|
Data_Return = Already_Action.Encode.Data;
|
152
|
-
}
|
153
|
+
} */
|
153
154
|
return Data_Return;
|
154
155
|
}
|
155
156
|
case "Decrypt": {
|
156
157
|
var AppState_Decrypt;
|
157
|
-
if (!Already_Action.Decode.Status) {
|
158
|
+
/*if (!Already_Action.Decode.Status) {
|
158
159
|
const Parse = CheckAndParse(DefaultPass);
|
159
160
|
AppState_Decrypt = Decrypt(AppState,Parse.Slot,Parse.PassWord);
|
160
161
|
if (Already_Action.First == 0) {
|
@@ -166,7 +167,7 @@
|
|
166
167
|
}
|
167
168
|
else {
|
168
169
|
AppState_Decrypt = Already_Action.Decode.Data;
|
169
|
-
}
|
170
|
+
}*/
|
170
171
|
return AppState_Decrypt;
|
171
172
|
}
|
172
173
|
}
|