Skip to content

鉴权


签名流程

  • appId
  • appKey
  • timestamp
  • nonce
  • sign

method & url & appKey & timestamp & nonce

  • method 需要大写,如:GET

  • url 去除协议、域名、参数,以 / 开头,如:/api/demo/helloWord

  • 使用HMAC-SHA256协议创建基于哈希的消息身份验证代码 (HMAC),以 appSecret 作为密钥,对上面拼接的参数进行计算签名,所得签名进行 Base-64 编码

HMAC-SHA256 在线计算: https://1024tools.com/hmac