Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kubetrail/base58
CLI: Encoder decoder in base58
https://github.com/kubetrail/base58
base58 decoders encoder golang
Last synced: about 2 months ago
JSON representation
CLI: Encoder decoder in base58
- Host: GitHub
- URL: https://github.com/kubetrail/base58
- Owner: kubetrail
- License: apache-2.0
- Created: 2022-01-26T12:47:19.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-13T14:03:45.000Z (almost 3 years ago)
- Last Synced: 2024-06-21T12:59:19.351Z (7 months ago)
- Topics: base58, decoders, encoder, golang
- Language: Go
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# base58
encoder decoder in base58## installation
This step assumes you have [Go compiler toolchain](https://go.dev/dl/)
installed on your system.download code to a folder, cd to it and run `go install`
## usage
To encode pass input as arguments
```bash
base58 this is a test
jo91waLQA1NNeBmZKUF
```or pass input via STDIN
```bash
echo -n this is a test | base58
jo91waLQA1NNeBmZKUF
```> Pl. note that the STDIN is ignored if arguments are provided
To decode use flag `-d`
```bash
base58 -d jo91waLQA1NNeBmZKUF
this is a test
```or pass input via STDIN
```bash
echo -n jo91waLQA1NNeBmZKUF | base58 -d
this is a test
``````bash
echo hello | base58 | base58 -d
hello
```