Skip to main content

Base58check encoding and decoding of binary data

Project description

Build Status Github Repo Pypi Version Pypi License Pypi Wheel Pypi Versions


Joe Black | | github


A python implementation of the Base58Check encoding scheme.

The Base58Check encoding scheme is a modified Base 58 binary-to-text encoding. More generically, Base58Check encoding is used for encoding byte arrays in Bitcoin into human-typable strings.

PLEASE NOTE: For consistency with encoding schemes in python, encode inputs must be bytes and will be enforced. Use .encode('ascii') on text input to encode to bytes.


pip3 install base58check


>>> import base58check


>>> base58check.b58encode(b'1BoatSLRHtKNngkdXEeobR76b53LETtpyT')

decoding (input can be text or bytes here)

>>> base58check.b58decode('\x00v\x80\xad\xec\x8e\xab\xca\xba\xc6v\xbe\x9e\x83\x85J\xde\x0b\xd2,\xdb\x0b\xb9`\xde')


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 base58check, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size base58check-1.0.2-py2.py3-none-any.whl (6.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size base58check-1.0.2.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page