pub fn sign(secret: &[u8], msg: &[u8]) -> String
Sign msg with secret, returning the base64url signature.
msg
secret