Skip to main content

Fast Base58 32/64 by Firedancer

Project description

python-fd58 bundles the fast Base58 from Firedancer as a Python package.

Source: https://github.com/firedancer-io/firedancer/tree/main/src/ballet/base58

Supports 32 and 64 byte data only.

Usage:

>>> import fd58
>>> fd58.enc32(b'\x00' * 32)
b'11111111111111111111111111111111
>>> fd58.dec32(b'11111111111111111111111111111111')
b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

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

fd58-0.1.0.tar.gz (42.3 kB view hashes)

Uploaded Source

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