Skip to main content

signature

Function signature 

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

Value of the X-TeamCraft-Signature header: sha256=<hex>; the key is the webhook secret as UTF-8 bytes.