Browse Source

js添加签名算法

Xwite 3 years ago
parent
commit
81c02b2453
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/src/main/java/io/legado/app/help/JsEncodeUtils.kt

+ 1 - 1
app/src/main/java/io/legado/app/help/JsEncodeUtils.kt

@@ -97,7 +97,7 @@ interface JsEncodeUtils {
         publicKey: String?
     ): Sign {
         return createSign(
-            algorithm
+            algorithm,
             privateKey?.encodeToByteArray(),
             publicKey?.encodeToByteArray()
         )