From f2b59a4590db187c8e9bf41ddb6c69b13939c1f6 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 7 Dec 2023 15:07:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJuMethod2.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJuMethod2.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SrcJuMethod2.js b/SrcJuMethod2.js index 9b5cb256..9cc3c2a5 100644 --- a/SrcJuMethod2.js +++ b/SrcJuMethod2.js @@ -118,6 +118,8 @@ let 图片解密 = function(key,iv,kiType,mode) { } else if (kiType === "Hex") { bytes = hexStringToBytes(str); } else { + bytes = FileUtil.String(str).getBytes(); + /* let javaImport = new JavaImporter(); javaImport.importPackage( Packages.com.example.hikerview.utils, @@ -127,8 +129,9 @@ let 图片解密 = function(key,iv,kiType,mode) { Packages.javax.crypto.spec ); with(javaImport) { - bytes = String(str).getBytes(); + bytes = FileUtil.String(str).getBytes(); } + */ } return bytes; }