HMAC-SHA512 with nonce signing pattern (Kraken-style).
Used by: Kraken and ~20 other exchanges.
How it works
- Generate incrementing nonce (microsecond timestamp)
- Add nonce to request body
- Hash:
sha256(nonce_string + body) - Concat:
url_path_bytes + hash - Sign:
hmac_sha512(concat, base64_decode(secret)) - Encode as Base64
Configuration
signing: %{
pattern: :hmac_sha512_nonce,
api_key_header: "API-Key",
signature_header: "API-Sign",
nonce_key: "nonce"
}