Skip to main content

Reference implementation of CB58 encoding used by AVA

Project description

cb58ref

https://img.shields.io/pypi/v/cb58ref.svg https://img.shields.io/travis/moreati/cb58ref.svg Documentation Status Updates

cb58ref is a reference implementation of the CB58 encoding used by AVA. CB58 is similar to the Base58Check encoding used in Bitcoin

  • both can encode arbitrary an arbitrary byte sequence

  • both use the same alphabet

  • both append a 4 byte checksum

they differ in the following respects

  • CB58 uses the final 4 bytes of SHA256(msg) as the checksum. Base58Check uses the first 4 bytes of SHA256(SHA256(msg)) as the checksum.

License

  • Free software: MIT license

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template. The b58decode(), and b58encode() functions are from base58.py, part of Bitcoin Core.

History

0.1.0 (2020-06-15)

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

cb58ref-0.1.0.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

cb58ref-0.1.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file cb58ref-0.1.0.tar.gz.

File metadata

  • Download URL: cb58ref-0.1.0.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for cb58ref-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1456cefce1729144022927236a996b926020e002e75714f9b9839abbf76678b4
MD5 a0d556fa0a97a169b406af78b4801c62
BLAKE2b-256 96248cbd84da89b2d9965da1036d5465952e5a0ee6b764cb51c5d92b45283013

See more details on using hashes here.

File details

Details for the file cb58ref-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cb58ref-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for cb58ref-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23a5a637303a9124b8dab2d18846bda42632f2cec08e9860550441d345df06f3
MD5 cfc822bfb0e8ca065d573e189ae28c1b
BLAKE2b-256 d6c59de6c00a17db2ef657af0c7420b03b5e379f8c3e641295569ce96748a432

See more details on using hashes here.

Supported by

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