kubetrail / base58

CLI: Encoder decoder in base58

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

CLI: Encoder decoder in base58

License:Apache License 2.0


Languages

Language:Go 100.0%