Appearance
鉴权
签名流程
appId
appKey
timestamp
nonce
sign
method & url & appKey & timestamp & nonce
method
需要大写,如:GETurl
去除协议、域名、参数,以 / 开头,如:/api/demo/helloWord
- 使用
HMAC-SHA256
协议创建基于哈希的消息身份验证代码 (HMAC),以appSecret
作为密钥,对上面拼接的参数进行计算签名,所得签名进行 Base-64 编码
HMAC-SHA256 在线计算: https://1024tools.com/hmac