Lines Matching full:base64
1 :mod:`base64` --- RFC 3548: Base16, Base32, Base64 Data Encodings
4 .. module:: base64
5 :synopsis: RFC 3548: Base16, Base32, Base64 Data Encodings
9 pair: base64; encoding
10 single: MIME; base64 encoding
13 This standard defines the Base16, Base32, and Base64 algorithms for encoding and
22 well as strings, but only using the Base64 standard alphabet.
29 Encode a string using Base64.
34 generate URL or filesystem safe Base64 strings. The default is ``None``, for
35 which the standard Base64 alphabet is used.
42 Decode a Base64 encoded string.
56 Encode string *s* using the standard Base64 alphabet.
61 Decode string *s* using the standard Base64 alphabet.
68 ``+`` and ``_`` instead of ``/`` in the standard Base64 alphabet. The result
76 ``+`` and ``_`` instead of ``/`` in the standard Base64 alphabet.
137 Decode the string *s*, which must contain one or more lines of base64 encoded
143 Encode the contents of the *input* file and write the resulting base64 encoded
153 string containing one or more lines of base64-encoded data.
155 base64-encoded data always including an extra trailing newline (``'\n'``).
159 >>> import base64
160 >>> encoded = base64.b64encode('data to be encoded')
163 >>> data = base64.b64decode(encoded)
174 Section 5.2, "Base64 Content-Transfer-Encoding," provides the definition of the
175 base64 encoding.