toggle menu
common-ext
2.2.0
jvm
switch theme
search in API
common-ext
/
io.github.caijiang.common.security
/
RSAUtils
/
signatureAsBase64
signature
As
Base64
@
JvmStatic
fun
signatureAsBase64
(
key
:
PrivateKey
,
payload
:
ByteArray
)
:
String
用 SHA256withRSA 签名
Return
签名并且 base64 后的字符