athebigbot / bs64

Encode/Decode base64

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BS64

Encode & Decode base64

bs64 [-e (--encode) | -d (--decode)] [-f (--file) | -s (--string)] <data> [<output>]

๐ŸŒฟ Install Guide

  • Clone repository
git clone https://github.com/aThebigbot/bs64
  • Run install
[sudo] sh install

๐Ÿ› Example & Guide

๐Ÿ”’ Encode example & tutorial

Encode string

bs64 --encode --string Hello
# SGVsbG8=

Encode file (Hello.txt, Hello)

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

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

bs64 --encode [--string | --file] [string | file] [output file]
๐Ÿ”“ Decode example & tutorial

Decode string

bs64 --encode --string SVGsbG8=
# Hello

Decode file (Hello.txt, SVGsbG8=)

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

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

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

About

Encode/Decode base64


Languages

Language:Go 95.7%Language:Shell 4.3%