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
Release history Release notifications | RSS feed
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)