import hmac
import hashlib
import json
h = hmac.new(b'top-secret', json.dumps({'version': 1.0}).encode('utf-8'), hashlib.sha512)
print(h.hexdigest())
fb909103d8177205a227a1f58079e4bda61be8e32faa71cd1ae17487651b42c3676073f827d208b53e8198ca231a3259cafeeb7521932e6e1f4ac7d177055d09