Skip to main content

verify

Function verify 

pub fn verify(
    secret: &[u8],
    header: &str,
    body: &[u8],
    now_ms: u64,
) -> Result<(), String>
Expand description

Checks a fusee-signature value against body at now_ms: the MAC (in constant time) and the timestamp, within SIGNATURE_TOLERANCE.