Skip to main content

Module base64

Module base64 

Source
Expand description

RFC 4648 base64 with padding, as notes and checkpoints carry hashes and signatures. Decoding accepts the canonical encoding only: the unused bits of the last symbol are zero and the padding is exactly what the length calls for.

Functionsยง

decode
The bytes text encodes, or nothing when text is not a canonical padded encoding.
encode
The padded base64 text of bytes.