python hmac

来源:互联网 发布:恐怖视频制作软件 编辑:程序博客网 时间:2024/05/23 11:28

signature = urllib.quote(
base64.b64encode(
hmac.new(privateKey, url, digestmod=hashlib.sha1)
.digest()
))

原创粉丝点击