Engine
/
com.drake.engine.utils
/
EncryptUtil
/
encryptHmacSHA1ToString
encrypt
Hmac
S
H
A1
To
String
open fun
encryptHmacSHA1ToString
(data:
String
, key:
String
):
String
Content copied to clipboard
HmacSHA1加密
Return
16进制密文
Parameters
data
明文字符串
key
秘钥
open fun
encryptHmacSHA1ToString
(data:
Array
<
Byte
>, key:
Array
<
Byte
>):
String
Content copied to clipboard
HmacSHA1加密
Return
16进制密文
Parameters
data
明文字节数组
key
秘钥