Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 906 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 906 Bytes

About

Cli tool written with Golang to perform b64 encryption and decryption. Nothing special, just a tool that is supposed to work the same on Linux, Max and Windows for the sake of writing simpler instructions for the software I make. Because, you know. You can't just use base64 encoding in shell in windows.

Feel free to open issues or any use other way of initiating conversations, PR's maybe?

Installation

go install github.com/baitcode/b64

or go to release page and download binary that fits your environment. If you can't find environment you need, please open an Issue.

Usage

Encode:

b64 encode "some data"
>> c29tZSBkYXRh

Pipes are also supported

echo "some data" | b64 encode
>> c29tZSBkYXRh

Decode:

b64 decode "c29tZSBkYXRh"
>> some data

Pipes are also supported

echo "c29tZSBkYXRh" | b64 decode
>> some data