Skip to content

python custom converter to and from base64 and base2

License

Notifications You must be signed in to change notification settings

vjgtigers/b2tob64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This package allows for custom encoding between base2 (bianary) and base 64.
WARNING: THIS WILL NOT TRANSLATE other b64 encodings and will NOT be able to encode/decode the same values


Ex. "10101010101000010111111001" --> "ppE9AA" --> "10101010101000010111111001"

Approx. 6x len reduction


Docs
function b2tob64 requires a single string input of only 1's and 0's
This will return a b64 string (NOTE: this can most likely be decoded ONLY by this program)



function b64tob2 requires a single b64 string input created by the b2tob64 function.
this will return the original binary string.


Unlike some b2 to b64 converters, this allows for conversions on the bit by bit level.
Conviance is nice.

About

python custom converter to and from base64 and base2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages