#base58 #codec #string #decoding #binary

koibumi-base58

A Base58 encoder/decoder library

3 releases

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

#1996 in Encoding

Download history 13/week @ 2024-07-29 5/week @ 2024-08-05 15/week @ 2024-08-12 19/week @ 2024-08-19 47/week @ 2024-08-26 8/week @ 2024-09-02 23/week @ 2024-09-09 39/week @ 2024-09-16 54/week @ 2024-09-23 23/week @ 2024-09-30 1/week @ 2024-10-07 30/week @ 2024-10-14 6/week @ 2024-10-21 12/week @ 2024-10-28 13/week @ 2024-11-04

61 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