Module const_time_enc::base64

source ·

Functions

Decode a base64 encoded bytestring in constant time.
Give the upper bound for the size of the buffer needed to contain the result of decoding a base64 string sz bytes long.
Encode a bytestring into base64 in constant-time.
Give the upper bound for the size of the buffer needed to contain the result of encoding a bytestring sz bytes long into base64.