[skip ci]

This commit is contained in:
Xwite
2023-03-15 08:04:27 +08:00
parent 9b37c80054
commit cc8e46648c
@@ -39,7 +39,7 @@ class AsymmetricCrypto(algorithm: String) : HutoolAsymmetricCrypto(algorithm) {
data is ByteArray -> func.invoke(data as ByteArray)
data is String -> func.invoke(data as String)
data is InputStream -> func.invoke(data as InputStream)
else -> null
else -> throw IllegalArgumentException("Unexpected data input")
}
}