bs58 0.4.0

Another Base58 codec implementation.
Documentation
1
2
3
4
5
6
7
8
use std::io::{self, Read};

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let mut input = Vec::<u8>::new();
    io::stdin().read_to_end(&mut input)?;
    println!("{}", bs58::encode(input).into_string());
    Ok(())
}