Skip to main content

sign

Function sign 

pub fn sign(secret: &[u8], t_ms: u64, body: &[u8]) -> String
Expand description

The fusee-signature value for body signed at t_ms (Unix ms): t=<t_ms>,v1=<hex HMAC-SHA256(secret, "<t_ms>." + body)>.