Python base64 Functions
EditRocket provides the following information on base64 functions in the Python source code builder.
b16decode(s[, casefold]) - Decode a Base16 encoded string.
b16encode(s) - Encode a string using Base16.
b32decode(s[, casefold[, map01]]) - Decode a Base32 encoded string.
b32encode(s) - Encode a string using Base32.
b64decode(s[, altchars]) - Decode a Base64 encoded string.
b64encode(s[, altchars]) - Encode a string use Base64.
decode(input, output) - Decode the contents of the input file and write the resulting binary data to the output file.
decodestring(s) - Decode the string s, which must contain one or more lines of base64 encoded data, and return a string containing the resulting binary data.
encode(input, output) - Encode the contents of the input file and write the resulting base64 encoded data to the output file.
encodestring(s) - Encode the string s, which can contain arbitrary binary data, and return a string containing one or more lines of base64-encoded data.
standard_b64decode(s) - Decode string s using the standard Base64 alphabet.
standard_b64encode(s) - Encode string s using the standard Base64 alphabet.
urlsafe_b64decode(s) - Decode string s using a URL-safe alphabet, which substitutes - instead of + and _ instead of / in the standard Base64 alphabet.
urlsafe_b64encode(s) - Encode string s using a URL-safe alphabet, which substitutes - instead of + and _ instead of / in the standard Base64 alphabet.