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.1.tar.gz
(74.6 kB
view details)
File details
Details for the file fd58-0.1.1.tar.gz.
File metadata
- Download URL: fd58-0.1.1.tar.gz
- Upload date:
- Size: 74.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0282f4579ce5d7d48a1cd8caac945ade1075afe701b3da1720caddd41e31d244
|
|
| MD5 |
29a738035b6753d1fa2e753864a6606a
|
|
| BLAKE2b-256 |
d5776f1171826637cf21b58eb7e8d7408886db2dbe2e7c3fbacf822eb62001ee
|