whyrusleeping / bases

A simple tool for converting between different base encodings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bases

A tool for converting data between different encodings

Installation

go get github.com/whyrusleeping/bases

Usage

$ printf hello | bases bin hex
68656c6c6f
$ printf "ff2c3ed5" | bases hex base64
/yw+3w

The first argument is the input format, the second argument is the output format. Supported formats are currently:

  • hex
  • base64
  • base32
  • base58
  • bin
  • mbase (multibase, input only)

License

MIT

About

A simple tool for converting between different base encodings

License:MIT License


Languages

Language:Go 100.0%