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]