def get_mac_signature(key, data, timestamp, nonce):
    hashed = hmac.new(str(key), '%s %s %s' % (timestamp, nonce, data), hashlib.sha1)
    return binascii.b2a_base64(hashed.digest())[:-1]
Returns BASE64 ( HMAC-SHA1 (key, data) )
dataset/ETHPy150Open dcramer/sentry-old/sentry/utils/api.py/get_mac_signature