bs58-cli 0.1.0

A cli utility for encoding/decoding base58 encoded data
bs58-cli-0.1.0 is not a library.

bs58-cli

A CLI utility for encoding/decoding base58 encoded data.

Installation

Currently bs58-cli is only distributed through crates.io, install Rust then install with:

> cargo install bs58-cli
Updating crates.io index
[...]

> bs58 --help
bs58 0.1.0
A utility for encoding/decoding base58 encoded data.
[...]

Examples

Encoding some data

> echo '04305e2b2473f058' | xxd -r -p | bs58
he11owor1d

Decoding some data

> echo -n 'he11owor1d' | bs58 -d | xxd -p
04305e2b2473f058

Decoding with a different alphabet

> echo -n 'he11owor1d' | bs58 -da=ripple | xxd -p
6065e79bba2f78

Encoding with a custom alphabet

> echo 'babce1c947b425' | xxd -r -p | bs58 -a='custom(abcdefghijkmnopqrstuvwxyz123456789ABCDEFGHJKLMNPQRSTUVWXYZ)'
he11owor1d