jwt-lab — API
AlgorithmError
Section titled “AlgorithmError”pub enum AlgorithmErrorAlgorithm
Section titled “Algorithm”pub enum Algorithmb64u_enc(input:
Section titled “b64u_enc(input:”pub fn b64u_enc(input: &[u8]) -> Stringhs256(key:
Section titled “hs256(key:”pub fn hs256(key: &[u8], message: &[u8]) -> [u8; 32]Header
Section titled “Header”pub struct Header