Command line tool for converting {to,from,between} multibase encodings.
Uses the multibase crate.
```bash echo -n "hey" | multibase base2
multibase decode 011010000110010101111001
echo -n 011010000110010101111001 | multibase decode
```
Multibase does encode newlines.
```bash echo hey | multibase base58btc
echo -n hey | multibase base58btc
```
Multibase is strict about the input it accepts. It won't decode newlines unless they are valid parts of the input encoding.
```bash
echo 011010000110010101111001 | multibase decode
echo -n 011010000110010101111001 | multibase decode printf "%s" 011010000110010101111001 | multibase decode multibase decode 011010000110010101111001 ```
bash
cargo install multibase-cli
Multibase encodings with padding are not yet supported. To make them supported, rust-multibase must push recent changes to crates.io. https://github.com/multiformats/rust-multibase/issues/12
The identity
encoding is not yet supported.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.