/Bash_Base64

Base64 Encoding/Decoding in Bash.

Primary LanguageShell

Bash_Base64

This is a simple bash script for Base64 encoding/Decoding.

Script has 4 options:

  1. Encode to Base64.
  2. Decode from Base64.
  3. Encode strings from a txt file.
  4. Decode Base64 encoding from a txt file.

Options

bash1

Option 1:

bash2

Option 2:

bash3

Option 3:

bash4

Option 4:

bash5

Usage

Open the terminal and enter the below command to change permissions on the script.

chmod +x Bash_Base64.sh

Execute ./Bash_Base64.sh

Testing

Tested on Ubuntu OS