Skip to main content

sign_body

Function sign_body 

Source
pub fn sign_body(secret: &Secret, body: &[u8]) -> String
Expand description

Compute the X-Hub-Signature-256 value GitHub would send. For tests and for replaying captured deliveries against a local bridge.