Base58Check
Maintainer
Joe Black | me@joeblack.nyc | github
Introduction
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.
Installation
pip3 install base58check
Usage
>>> import base58check
encoding
>>> base58check.b58encode(b'1BoatSLRHtKNngkdXEeobR76b53LETtpyT')
b'\x00v\x80\xad\xec\x8e\xab\xca\xba\xc6v\xbe\x9e\x83\x85J\xde\x0b\xd2,\xdb\x0b\xb9`\xde'
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')
b'1BoatSLRHtKNngkdXEeobR76b53LETtpyT'
Changes
Metadata
Release files for base58check 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| base58check-1.0.2.tar.gz | 5.4 kB | Without provenance | Details for base58check-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| base58check-1.0.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for base58check-1.0.2-py2.py3-none-any.whl |
Total release size: 11.4 kB
Release files / base58check-1.0.2.tar.gz
| Download URL | base58check-1.0.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a597d250ef564806d5c91a8882c92a69f542b90c6b4f04f581ee3202855cc396
|
|
BLAKE2b-256 checksum How to use checksums |
9c78cfbfd63b5dc23ad33ee5f1774e5828b7c6bf2f0302cbec95cbba191d3d62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / base58check-1.0.2-py2.py3-none-any.whl
| Download URL | base58check-1.0.2-py2.py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a83863696845a9b0b5ec95aebb32ebfc6ce5596984302c0f2b7b27f24afc2719
|
|
BLAKE2b-256 checksum How to use checksums |
64d2a8e47d4cd73c416ea0d27b4dcfe3cde0bce17c0acce493c10791ee468a7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for base58check 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.