Hello, I’m trying to make a API binding for an exchange named kraken(https://www.kraken.com/), I already have figured out how to call it’s public methods(ie. not user-specific) but to access private methods I need to put an API-Sign in the header, which needs to be the following:
API-Sign = Message signature using HMAC-SHA512 of (URI path + SHA256(nonce + POST data)) and base64 decoded secret API key
Can someone point me in the right direction on how to do this? I don’t need it to be in rust per se but it has to be reasonably fast (so I’d rather not run a python script to do it, but a c-binding would be fine I guess).
This is the page where it describes the API calls.