+ and _ instead of / in the standard Base64 alphabet. urlsafe_b64decode ( s ) ¶ĭecode string s using the URL- and filesystem-safe urlsafe_b64encode ( s ) ¶Įncode string s using the URL- and filesystem-safe standard_b64decode ( s ) ¶ĭecode string s using the standard Base64 alphabet. standard_b64encode ( s ) ¶Įncode string s using the standard Base64 alphabet. In the normal base-64 alphabet nor the alternative alphabet areĭiscarded prior to the padding check. 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 In RFC 3548 (normal, and URL- and filesystem-safe). The modern interface supportsĮncoding and decoding string objects using both base-64 alphabets defined 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |