A command-line tool that allows you to create, read, edit, delete, and list files β along with encrypting and decrypting them using an extended Caesar cipher. Built entirely in C++ using only standard libraries.
- Create new text files
- Read file contents
- Append text to existing files
- Delete files
- List files (Windows uses
dir, Linux usesls)
- Extended Caesar Cipher implementation
- Key-based dynamic shifting
- Supports:
- Lowercase letters
- Uppercase letters
- Digits
- Printable ASCII characters (33β126)
- Whitespace remains untouched
- Wrap-around logic for every character range
- C++
- Standard Library (iostream, fstream, string)
No frameworks or external dependencies.
Users can:
- Create File
- Read File
- Edit File
- Delete File
- List Files
The shift value is derived from the key:
Character handling:
- Alphabet β Rotated within alphabet
- Numbers β Rotated within 0β9
- Symbols β Rotated within ASCII 33β126
- Whitespace β Preserved
- Byte-by-byte processing
git clone https://github.com/<your-username>/<your-repo>.gitg++ File.cpp -o filemanager./filemanagerEncrypt
Input : input.txt
Output : encrypted.txt
Key : mykey123Decrypt
Use the same key to restore original contents.
File.cpp β Source code
README.md β Documentation