From 05ab654cc800f1a420531e7299ec853e6bfc22d5 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 21 Aug 2021 01:40:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/help/JsExtensions.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/help/JsExtensions.kt b/app/src/main/java/io/legado/app/help/JsExtensions.kt index edf8ae55b..ab4eb815e 100644 --- a/app/src/main/java/io/legado/app/help/JsExtensions.kt +++ b/app/src/main/java/io/legado/app/help/JsExtensions.kt @@ -475,8 +475,8 @@ interface JsExtensions { str: String, key: String, transformation: String, iv: String ): ByteArray? { return EncoderUtils.decryptBase64AES( - data = str.encodeToByteArray(), - key = key.encodeToByteArray(), + str.encodeToByteArray(), + key.encodeToByteArray(), transformation, iv.encodeToByteArray() ) @@ -539,7 +539,7 @@ interface JsExtensions { ): ByteArray? { return EncoderUtils.encryptAES2Base64( data.encodeToByteArray(), - key = key.encodeToByteArray(), + key.encodeToByteArray(), transformation, iv.encodeToByteArray() )