3 releases
0.0.2 | Jun 25, 2024 |
---|---|
0.0.1 | Jan 6, 2021 |
0.0.0 | Sep 6, 2020 |
#1996 in Encoding
61 downloads per month
Used in 11 crates
(via koibumi-core)
7KB
93 lines
This crate is a Base58 encoder/decoder library.
The library is intended to be used to implement a Bitmessage address encoder/decoder.
lib.rs
:
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);
Dependencies
~490KB
~10K SLoC