Skip to main content

base64

Function base64 

Source
pub fn base64(input: &[u8]) -> Option<Zeroizing<Vec<u8>>>
Expand description

Standard base64 (RFC 4648 §4), padding optional; None on any other byte. The bytes are wiped when dropped: what it decodes is usually a credential.