Skip to main content

Custom converting b2/b42 to and from b64/b2

Project description

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.

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

b2tob64-2.0.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

b2tob64-2.0.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file b2tob64-2.0.0.tar.gz.

File metadata

  • Download URL: b2tob64-2.0.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.1

File hashes

Hashes for b2tob64-2.0.0.tar.gz
Algorithm Hash digest
SHA256 57912fe1d1da0abab6ef88602adfbac3c4e6b1a67ad5a9d2e1dde58a07aea922
MD5 10c4fc51ca1ed8406d4b34bfcee4f83a
BLAKE2b-256 f5aa3715fee5fe070ff2d01e1657c2ecfc560eef78d2f35e10600e9d62a46968

See more details on using hashes here.

File details

Details for the file b2tob64-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: b2tob64-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.1

File hashes

Hashes for b2tob64-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70c93cd876fad206d909e179bd63bc5ba81fa0fc9f80c7a870cf5c44e3f41cc5
MD5 6c61e2b0f8213940ccf176857ac30780
BLAKE2b-256 23a280eaa56a56c610596f9dd47aea317e6ae4c665803ae4457a47854d104321

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page