3 unstable releases
0.2.0 | Apr 2, 2023 |
---|---|
0.1.1 | Aug 12, 2019 |
0.1.0 | Aug 8, 2019 |
#3 in #ripple
39 downloads per month
Used in 6 crates
(4 directly)
7KB
110 lines
basex-rs
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());