Skip to content

About

Unpadded Base64

Resources

Contributing

Security policy

Stars

11 stars

Watchers

20 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

Unpadded Base64

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'

About

Unpadded Base64

Resources

Contributing

Security policy

Stars

11 stars

Watchers

20 watching

Forks

Releases

Packages

Used by

Contributors

Languages