Skip to main content

base64_url_decode

Function base64_url_decode 

Source
pub(crate) fn base64_url_decode(
    text: &str,
) -> Result<Vec<u8>, KeeperCryptoError>
Expand description

Decode unpadded URL-safe base64 (Keeper’s base64UrlDecode).

Any trailing = padding is tolerated to match the lenient behaviour of the TypeScript original.