Unpadded Base64
Project description
Encode and decode Base64 without “=” padding.
RFC 4648 specifies that Base64 should be padded to a multiple of 4 bytes using “=” characters. However this conveys no benefit so many protocols choose to use Base64 without the “=” padding.
Installing
pip install unpaddedbase64
Using
import unpaddedbase64
assert (unpaddedbase64.encode_base64(b'\x00')) == u'AA'
assert (unpaddedbase64.decode_base64(u'AA')) == b'\x00'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for unpaddedbase64-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00ce2b68da751c8189688fe2c14381a6a2846d61c9a5ffce1db9a645d09744d8 |
|
MD5 | 801455f54af5bb56e48fa87acf0f2d9c |
|
BLAKE2b-256 | 5850007a7d801b8e5843d6f873291c4d304a5d97056f39c27235193f9392842e |