Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ztgx/basex-rs
base58 with anything alphabet
https://github.com/ztgx/basex-rs
base58 bitcoin flickr ripple rust
Last synced: 2 days ago
JSON representation
base58 with anything alphabet
- Host: GitHub
- URL: https://github.com/ztgx/basex-rs
- Owner: zTgx
- License: apache-2.0
- Created: 2019-07-20T13:42:04.000Z (over 5 years ago)
- Default Branch: dev
- Last Pushed: 2023-04-02T11:17:25.000Z (almost 2 years ago)
- Last Synced: 2024-12-17T01:27:42.128Z (30 days ago)
- Topics: base58, bitcoin, flickr, ripple, rust
- Language: Rust
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# [basex-rs](https://github.com/zTgx/basex-rs.git) [![crate](https://img.shields.io/crates/v/basex-rs.svg)](https://crates.io/crates/basex-rs)
# Usage
Add dependencies
```
[dependencies]
basex-rs = "0.2.0"
``````rust
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());
```