Skip to main content

build_proof_v21

Function build_proof_v21 

Source
pub fn build_proof_v21(
    client_secret: &str,
    timestamp: &str,
    binding: &str,
    body_hash: &str,
) -> String
Expand description

Build v2.1 cryptographic proof (client-side).

Formula: proof = HMAC-SHA256(clientSecret, timestamp + “|” + binding + “|” + bodyHash)