pub fn sign(secret: &str, v: &Value) -> String
A signed statement: base64url(json).base64url(hmac).
base64url(json).base64url(hmac)