Update app.js

This commit is contained in:
Namhyeon Go 2024-01-26 16:55:49 +09:00
parent 7d01adb54b
commit 79c64726e2

12
app.js
View File

@ -291,6 +291,18 @@ function require(FN) {
return result.js_code;
});
break;
case ".enc": // Encrypted
T = (function(encryptedData) {
var toolkit = CreateObject("WelsonJS.Toolkit");
var userKey = '';
while (userKey.length == 0 || userKey.length > 16) {
userKey = toolkit.Prompt("Enter the password:");
}
return toolkit.DecryptStringHIGHT(encryptedData);
})(T);
break;
}
// compile