base58
Base58 and Base58Check implementation compatible with what is used by the groestlcoin network.
Starting from version 2.0.0 python2 is no longer supported the 1.x series will remain supported but no new features will be added.
Command line usage
$ printf "hello world" | base58grs
StV1DL6CwTryKyV
$ printf "hello world" | base58grs -c
3vQB7B6MrGQZaxCpm9RU5
$ printf "3vQB7B6MrGQZaxCpm9RU5" | base58grs -dc
hello world
$ printf "4vQB7B6MrGQZaxCpm9RU5" | base58grs -dc
Invalid checksum
Module usage
>>> import base58grs
>>> base58grs.b58encode(b'hello world')
b'StV1DL6CwTryKyV'
>>> base58grs.b58decode(b'StV1DL6CwTryKyV')
b'hello world'
>>> base58grs.b58encode_check(b'hello world')
b'3vQB7B6MrGQZaxCpm9RU5'
>>> base58grs.b58decode_check(b'3vQB7B6MrGQZaxCpm9RU5')
b'hello world'
>>> base58grs.b58decode_check(b'4vQB7B6MrGQZaxCpm9RU5')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "base58.py", line 89, in b58decode_check
raise ValueError("Invalid checksum")
ValueError: Invalid checksum
Metadata
Release files for base58grs 2.1.1
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 |
|---|---|---|---|---|
| base58grs-2.1.1.tar.gz | 6.4 kB | Without provenance | Details for base58grs-2.1.1.tar.gz |
Release files / base58grs-2.1.1.tar.gz
| Download URL | base58grs-2.1.1.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd90d1ac80fa6b64efe8ad528d414e6201a7b9a3dcaccbd6c97bbbe7356368fe
|
|
BLAKE2b-256 checksum How to use checksums |
64a096ce191d9c60bb28558a46782df8e5066596234b6164201c39c63f26e467
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.8.0 urllib3/1.26.8 tqdm/4.19.5 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9
|
Security for base58grs 2.1.1
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.