pub fn decode(input: &str) -> Option<Vec<u8>>Expand description
Decode either alphabet, with or without padding.
Deliberately permissive about which alphabet it is handed: a key pasted from a password manager and a signature copied out of a URL should both just work. It is not permissive about characters — anything outside both alphabets is rejected, so a truncated or mangled payload fails here rather than silently decoding to different bytes.