![]() ![]() + and _ instead of / in the standard Base64 alphabet. urlsafe_b64encode ( s ) ¶ Encode string s using a URL-safe alphabet, which substitutes - instead of standard_b64decode ( s ) ¶ Decode string s using the standard Base64 alphabet. standard_b64encode ( s ) ¶ Encode string s using the standard Base64 alphabet. ![]() Incorrectly padded or if there are non-alphabet characters present in the Length 2 (additional characters are ignored) which specifies the alternativeĪlphabet used instead of the + and / characters. ![]() Optional altchars must be a string of at least Which the standard Base64 alphabet is used. Generate URL or filesystem safe Base64 strings. Length 2 (additional characters are ignored) which specifies an alternativeĪlphabet for the + and / characters. The modern interface, which was introduced in Python 2.4, provides: base64. Well as strings, but only using the Base64 standard alphabet. Interface provides for encoding and decoding to and from file-like objects as The modern interface supportsĮncoding and decoding string objects using all three alphabets. There are two interfaces provided by this module. TheĮncoding algorithm is not the same as the uuencode program. This standard defines the Base16, Base32, and Base64 algorithms for encoding andĭecoding arbitrary binary strings into text strings that can be safely sent byĮmail, used as parts of URLs, or included as part of an HTTP POST request. This module provides data encoding and decoding as specified in RFC 3548. base64 - RFC 3548: Base16, Base32, Base64 Data Encodings ¶ ![]()
0 Comments
Leave a Reply. |