@ -25,12 +25,12 @@ object JsExtensions {
/**
* js实现解码,不能删
*/
fun base64Decoder(str: String): String {
return EncoderUtils.base64Decoder(str)
fun base64Decode(str: String): String {
return EncoderUtils.base64Decode(str)
}
fun base64Encoder(str: String): String? {
return EncoderUtils.base64Encoder(str)
fun base64Encode(str: String): String? {
return EncoderUtils.base64Encode(str)
fun strToMd5By32(str: String?): String? {
@ -572,12 +572,12 @@ class AnalyzeRule(private var book: BaseBook? = null) {
@ -24,7 +24,7 @@ object EncoderUtils {
return tmp.toString()
val bytes = Base64.decode(str, Base64.DEFAULT)
return try {
String(bytes, StandardCharsets.UTF_8)
@ -33,7 +33,7 @@ object EncoderUtils {
return Base64.encodeToString(str.toByteArray(), Base64.DEFAULT)