fd_bs58 0.1.0

Optimized Base58 codec for 32 and 64 byte numbers.
Documentation
  • Coverage
  • 37.14%
    13 out of 35 items documented4 out of 5 items with examples
  • Size
  • Source code size: 60.03 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 465.18 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Lou-Kamades

An optimized implementation of Base58 encoding/decoding for 32 and 64 byte numbers. This library is based off of the original C implementation from Jump Crypto's Firedancer repo which can be found here. These algorithms are significantly faster than the commonly used bs58 library for 32 and 64 bytes.

Development

To run the fuzzer: cargo-fuzz run decode_32

To run a benchmark: cargo bench encode_32