Module ffsend_api::crypto::b64

source ·
Expand description

A simple module for encoding or decoding a base64 string from or to a byte array.

This module uses an URL-safe scheme, and doesn’t add additional padding to the encoded strings.

Structs

Contains configuration parameters for base64 encoding

Enums

Available encoding character sets
Errors that can occur while decoding.

Functions

Decode the given string as base64. Standard and URL-safe character sets are both supported, padding is optional.
Encode the given byte slice using base64, in an URL-safe manner without padding.