This commit is contained in:
Xwite
2023-03-15 10:59:06 +08:00
parent 9ed6d5c57e
commit 5c65b8eaad
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ java.createAsymmetricCrypto(transformation)
//解密为ByteArray String
cipher.decrypt(data, usePublicKey: Boolean? = true
)
cipher.decryptStr(data, usePublicKey: Boolean? = true
cipher.decryptStr(data: String!!, usePublicKey: Boolean? = true
)
//加密为ByteArray Base64字符 HEX字符
cipher.encrypt(data, usePublicKey: Boolean? = true