Caesar File Encryptor

Phase 1 - File encryption and decryption

Develop a Python script that encrypts or decrypts a single file using a numeric key and the ASCII Caesar cipher.

  • Input file path and numeric key
  • Encrypt or decrypt file content using ASCII letters
  • Save output to a new file

Functional result: Script successfully encrypts or decrypts a given file with the specified key.

Phase 2 - Recursive folder processing

Extend the script to handle all files in a folder recursively, applying the Caesar cipher to each file.

  • Input folder path and numeric key
  • Traverse folder and subfolders recursively
  • Encrypt or decrypt all files and save results

Functional result: Script processes entire folder structure, encrypting or decrypting each file correctly.

Note: The user must be able to choose between file encryption / decryption for a single file or for a folder. Read about Caesar cipher here.