Skip to main content

verify_github_sig

Function verify_github_sig 

Source
pub fn verify_github_sig(body: &[u8], sig_header: &str, secret: &str) -> bool
Expand description

Verify a GitHub-style sha256=<hex> HMAC-SHA256 signature. Returns false for any malformed input rather than erroring.