basex-rs

Crates.iobasex-rs
lib.rsbasex-rs
version0.2.0
sourcesrc
created_at2019-08-08 05:06:31.220055
updated_at2023-04-02 11:27:30.133991
descriptionBase58 implementation.
homepage
repositoryhttps://github.com/zTgx/basex-rs.git
max_upload_size
id154929
size17,329
(zTgx)

documentation

README

basex-rs crate

Usage

Add dependencies

[dependencies]
basex-rs = "0.2.0"
use basex_rs::{BaseX, ALPHABET_BITCOIN};

let src = vec![28, 215, 33, 155];
let encoded = BaseX::with_alphabet(ALPHABET_BITCOIN).to_bs58(&src);
assert_eq!(encoded, "jkuzA".to_string());
Commit count: 22

cargo fmt