mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 15:04:58 +00:00
Update app.js
This commit is contained in:
parent
7d01adb54b
commit
79c64726e2
12
app.js
12
app.js
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user