https://github.com/mohammedmehdio/caesarjaw-cpp
CaesarJaw provides encryption and decryption functionalities using a simple shift cipher (Caesar cipher). It allows users to: ✅ Encrypt text 📝 ✅ Decrypt text 🔑 ✅ Determine the shift key 🔎 ✅ Attempt decryption without a known key 💡
https://github.com/mohammedmehdio/caesarjaw-cpp
caesar caesar-cipher caesar-cipher-algorithm communication cpp crypter cryptography cybersecurity decrypt decryption decryption-algorithm security security-tools shift-cipher tool
Last synced: 2 months ago
JSON representation
CaesarJaw provides encryption and decryption functionalities using a simple shift cipher (Caesar cipher). It allows users to: ✅ Encrypt text 📝 ✅ Decrypt text 🔑 ✅ Determine the shift key 🔎 ✅ Attempt decryption without a known key 💡
- Host: GitHub
- URL: https://github.com/mohammedmehdio/caesarjaw-cpp
- Owner: mohammedmehdio
- License: mit
- Created: 2025-02-03T20:14:15.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-02-04T01:16:06.000Z (5 months ago)
- Last Synced: 2025-02-14T12:43:20.802Z (4 months ago)
- Topics: caesar, caesar-cipher, caesar-cipher-algorithm, communication, cpp, crypter, cryptography, cybersecurity, decrypt, decryption, decryption-algorithm, security, security-tools, shift-cipher, tool
- Language: C++
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🔐 CaesarJaw
## 📜 Description
This C++ program provides encryption and decryption functionalities using a simple shift cipher (Caesar cipher). It allows users to:
✅ Encrypt text 📝
✅ Decrypt text 🔑
✅ Determine the shift key 🔎
✅ Attempt decryption without a known key 💡## ✨ Features
- 🔏 **Encryption (Crypt)**: Encrypts a given text using a specified key.
- 🔓 **Decryption (UnCrypt)**: Decrypts an encrypted text using a specified key.
- 🕵️ **Determine Shift Key**: Finds the encryption key by comparing original and encrypted text.
- 🎭 **Brute-Force Decryption**: Attempts decryption by trying all possible shift keys.## 🚀 Usage
Run the program and select an option:
1️⃣ **Encrypt Text**: Enter a switch key and the text to encrypt.
2️⃣ **Decrypt Text**: Enter a switch key and the text to decrypt.
3️⃣ **Find Shift Key**: Provide an encrypted and decrypted text to determine the shift key.
4️⃣ **Brute-Force Decryption**: Enter an encrypted text and see all possible decrypted results.## 🛠️ Compilation & Execution
To compile the program using g++, run:
```sh
g++ -o cryptography_tool main.cpp
```
To execute:
```sh
./cryptography_tool
```## 📝 Example
### 🔏 Encrypting a message
```
Enter Switch Key: 3
Please enter text: Hello123
Encrypted: Khoor456
```### 🔓 Decrypting a message
```
Enter Switch Key: 3
Please enter text: Khoor456
Decrypted: Hello123
```### 🔑 Determining the shift key
```
Please enter Crypt Text: Khoor456
Please enter UnCrypt Text: Hello123
Switch Key: 3
```## 🤝 Contributions
Feel free to fork the repository and contribute improvements via pull requests. 🚀## 📜 License
This project is open-source and free to use. 🎉