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