An open API service indexing awesome lists of open source software.

https://github.com/vclemenzi/bs64

Encode/Decode base64
https://github.com/vclemenzi/bs64

base64 bs64 cli go golang

Last synced: 4 months ago
JSON representation

Encode/Decode base64

Awesome Lists containing this project

README

        

# BS64

Encode & Decode base64

```bash
bs64 [-e (--encode) | -d (--decode)] [-f (--file) | -s (--string)] []
```

## 🌿 Install Guide

- Clone repository

```bash
git clone https://github.com/vclemenzi/bs64
```

- Run install

```bash
[sudo] sh install
```
## 🐛 Example & Guide

##### 🔒 Encode example & tutorial

Encode string
```bash
bs64 --encode --string Hello
# SGVsbG8=
```

Encode file (Hello.txt, `Hello`)

```bash
bs64 --encode --file Hello.txt
# SGVsbG8=
```

Set output file (The output file may or may not exist)

```bash
bs64 --encode [--string | --file] [string | file] [output file]
```
##### 🔓 Decode example & tutorial

Decode string

```bash
bs64 --encode --string SVGsbG8=
# Hello
```

Decode file (Hello.txt, `SVGsbG8=`)

```bash
bs64 --encode --file Hello.txt
# Hello
```

Set output file (The output file may or may not exist)

```bash
bs64 --encode [--string | --file] [string | file] [output file]