Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 682 Bytes

README.md

File metadata and controls

40 lines (32 loc) · 682 Bytes

base58

encoder decoder in base58

installation

This step assumes you have Go compiler toolchain installed on your system.

download code to a folder, cd to it and run go install

usage

To encode pass input as arguments

base58 this is a test
jo91waLQA1NNeBmZKUF

or pass input via STDIN

echo -n this is a test | base58
jo91waLQA1NNeBmZKUF

Pl. note that the STDIN is ignored if arguments are provided

To decode use flag -d

base58 -d jo91waLQA1NNeBmZKUF
this is a test

or pass input via STDIN

echo -n jo91waLQA1NNeBmZKUF | base58 -d
this is a test
echo hello | base58 | base58 -d
hello