pub fn base64_encode(input: &str) -> String
Encode a string using a URL-safe base64 alphabet with . padding to match the JS SDK.
.