pub fn decode(s: &str) -> Result<Vec<u8>, String>
Decodes standard base64 (padding optional); the error says what is wrong.