Skip to main content

Unpadded Base64

Project description

Latest Version https://img.shields.io/travis/matrix-org/python-unpaddedbase64.svg

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.

Files for unpaddedbase64, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size unpaddedbase64-1.1.0-py2-none-any.whl (3.3 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size unpaddedbase64-1.1.0-py2.py3-none-any.whl (3.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page