Crate ctb_formats_base64

Crate ctb_formats_base64 

Source
Expand description

Base64 encoding, decoding, and conversion helpers.

Functionsยง

base64_decode
base64_encode
bytes_to_standard_base64
Converts bytes to standard RFC 4648 base64 representation. https://datatracker.ietf.org/doc/html/rfc4648#section-4
decimal_to_standard_base64
Converts decimal representation (0 = A, 1 = B and so on) to standard RFC 4648 base64 string. Padding is represented by 64.
standard_base64_to_bytes
standard_base64_to_decimal
Converts base64 input string to decimal representation. Padding becomes 64.