Expand description
This crate is a Base58 encoder/decoder library.
The library is intended to be used to implement a Bitmessage address encoder/decoder.
§Examples
use koibumi_base58 as base58;
let test = base58::encode(b"hello");
let expected = "Cn8eVZg";
assert_eq!(test, expected);use koibumi_base58 as base58;
let test = base58::decode("Cn8eVZg")?;
let expected = b"hello";
assert_eq!(test, expected);Structs§
- Invalid
Character - Indicates that an invalid Base58 character was found.