Skip to main content

sign_payload

Function sign_payload 

Source
pub fn sign_payload(secret: &str, timestamp: &str, body: &str) -> String
Expand description

Build the canonical signature hex for a given payload. Exposed so callers can produce matching signatures in their own tests without reimplementing the canonical-string rules.