Encode and decode Base64 without "=" padding
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 many protocols choose to omit the “=” padding.
Installing
python3 -m pip install unpaddedbase64
Using
import unpaddedbase64
assert (unpaddedbase64.encode_base64(b'\x00')) == 'AA'
assert (unpaddedbase64.decode_base64('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 Distribution
unpaddedbase64-2.0.0.tar.gz
(5.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file unpaddedbase64-2.0.0.tar.gz.
File metadata
- Download URL: unpaddedbase64-2.0.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.8 Darwin/20.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b80a3e57f85cc88fe7b239f4bf9a3eae23749265770846fe1ca8661e6df5cd62
|
|
| MD5 |
2a717bab23e02e53a98ca59442411e40
|
|
| BLAKE2b-256 |
88d3ec895db17fa023f199373f6b92215b1c01ae2223e2ee064ee15c696cff78
|
File details
Details for the file unpaddedbase64-2.0.0-py3-none-any.whl.
File metadata
- Download URL: unpaddedbase64-2.0.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.8 Darwin/20.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25583124f0baf80dedae5d76aad6a1ae228821459e87a1eccb91e61abfa4d69f
|
|
| MD5 |
56b7733d983f52b16ed6742db4333751
|
|
| BLAKE2b-256 |
cf24f5ae001d09aaa7e0732163e63ebdf8b06bc8f1f9df5bfeb251e143c12d0e
|