Crate bs58 [] [src]

Another Base58 codec implementation.

Compared to base58 this is significantly faster at decoding (about 2.4x as fast when decoding 32 bytes), almost the same speed for encoding (about 3% slower when encoding 32 bytes), doesn't have the 128 byte limitation and supports a configurable alphabet.

Compared to rust-base58 this is massively faster (over ten times as fast when decoding 32 bytes, almost 40 times as fast when encoding 32 bytes), has no external dependencies and supports a configurable alphabet.

Modules

alphabet

Commonly used Base58 alphabets.

Enums

FromBase58Error

Errors that could occur when decoding a Base58 encoded string.

Traits

FromBase58

A trait for decoding Base58 encoded values to a vector of bytes.

ToBase58

A trait for Base58 encoding bytes to an owned string.