From 05df3518aca9c512d57a4906f52df8fda3448b23 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Tue, 19 Mar 2024 18:00:08 +0900 Subject: [PATCH] Update encryptor.js --- encryptor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encryptor.js b/encryptor.js index ab867d5..e68dc05 100644 --- a/encryptor.js +++ b/encryptor.js @@ -12,13 +12,13 @@ function main(args) { return 0; } + var filename = args[0]; var dstfile = filename + ".enc"; if (FILE.fileExists(dstfile)) { console.error(dstfile, "already exists. Please delete it."); return 0; } - var filename = args[0]; var userKey = ''; while (userKey.length == 0 || userKey.length > 16) { userKey = Toolkit.prompt("Please enter the password for encryption:");