pull/38/head
kunfei 5 years ago
parent a0fc5fe588
commit 75792ac8c4
  1. 4
      app/src/main/java/io/legado/app/help/JsExtensions.kt
  2. 4
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeRule.kt

@ -33,11 +33,11 @@ object JsExtensions {
return EncoderUtils.base64Encode(str) return EncoderUtils.base64Encode(str)
} }
fun strToMd5By32(str: String?): String? { fun strToMd5By32(str: String): String? {
return MD5Utils.strToMd5By32(str) return MD5Utils.strToMd5By32(str)
} }
fun strToMd5By16(str: String?): String? { fun strToMd5By16(str: String): String? {
return MD5Utils.strToMd5By16(str) return MD5Utils.strToMd5By16(str)
} }

@ -580,11 +580,11 @@ class AnalyzeRule(private var book: BaseBook? = null) {
return EncoderUtils.base64Encode(str) return EncoderUtils.base64Encode(str)
} }
fun strToMd5By32(str: String?): String? { fun strToMd5By32(str: String): String? {
return MD5Utils.strToMd5By32(str) return MD5Utils.strToMd5By32(str)
} }
fun strToMd5By16(str: String?): String? { fun strToMd5By16(str: String): String? {
return MD5Utils.strToMd5By16(str) return MD5Utils.strToMd5By16(str)
} }

Loading…
Cancel
Save