use base64::Engine; pub fn encode(bytes: &[u8]) -> String { base64::prelude::BASE64_STANDARD.encode(bytes) }