Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 975 Bytes

File metadata and controls

24 lines (15 loc) · 975 Bytes

A simple Bash script that encrypts and decrypts files with Rot13.

The script perform the following operations:

  • Asks the user for a file path and checks that a file is indeed located in said path.
  • Asks the user whether they would like to encrypt or decrypt the file with Rot13.
  • Asks the user to name the output file.
  • Encrypts/decrypts the file and saves the output as a txt file with the name given by the user+encrypted/decrypted tag.
  • Asks the user whether they would like to encrypt/decrypt another file.

Full script run:

1

Encrypted file:

2

Decrypted file:

3

Original File (ExampleText):

4