This commit is contained in:
Xwite committed 2023-03-15 10:59:06 +08:00
1 parent 9ed6d5c57e
commit 5c65b8eaad
3 files changed
+3 -5

No files matched your search

+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