3 releases

0.0.2 Jun 25, 2024
0.0.1 Jan 6, 2021
0.0.0 Sep 6, 2020

#1875 in Encoding

Download history 27/week @ 2024-11-27 44/week @ 2024-12-04 28/week @ 2024-12-11 17/week @ 2024-12-18 12/week @ 2025-01-01 6/week @ 2025-01-08 2/week @ 2025-01-15 2/week @ 2025-01-29 10/week @ 2025-02-05 19/week @ 2025-02-12 1/week @ 2025-02-19 14/week @ 2025-02-26 10/week @ 2025-03-05 22/week @ 2025-03-12

52 downloads per month
Used in 11 crates (via koibumi-core)

GPL-3.0-or-later

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