A Python-based cryptographic tool developed as Week 2 of the DecodeLabs Cybersecurity Internship. This project demonstrates the implementation of the Caesar Cipher, a classical symmetric encryption algorithm that encrypts and decrypts text using a shared secret key.
This project strengthened my understanding of Python programming, cryptography fundamentals, character encoding, loops, conditional statements, string manipulation, and encryption logic.
- Encrypts plaintext using the Caesar Cipher algorithm
- Decrypts ciphertext using the same key as encryption key
- Supports both uppercase and lowercase letters
- Preserves spaces, numbers, and special characters
- Uses a user-defined encryption key
- Interactive command-line interface
- Displays an error message when an incorrect decryption key is entered
- Python 3
- Visual Studio Code
- Git
- GitHub
- The user enters a plaintext message.
- The user enters an encryption key.
- Each alphabetical character is shifted forward according to the key using the Caesar Cipher algorithm.
- The encrypted message (ciphertext) is displayed.
- The program prompts the user to enter the decryption key.
- If the entered key matches the original encryption key, the ciphertext is decrypted.
- The original plaintext message is displayed.
- If an incorrect key is entered, the program displays:
Wrong key! Decryption failed.
git clone https://github.com/Miracle-Godwin-Ogbo/Cryptographic-project.gitcd Cryptographic-projectLinux (Kali Linux, Ubuntu, Debian, etc.)
python3 Cryptography.pyWindows
python Cryptography.pyThe screenshots below demonstrate the project running successfully on Kali Linux.
Type your Message:
Miracle Godwin
Enter your key:
8
==============================
Encrypted Message
==============================
Uqzikdm Owlfeqv
Enter key to decrypt:
8
==============================
Decrypted Message
==============================
Miracle Godwin
Enter key to decrypt:
5
Wrong key! Decryption failed.
- Classical Cryptography
- Caesar Cipher
- Symmetric Encryption
- Character Encoding (ASCII/Unicode)
- String Manipulation
- Python Loops
- Conditional Statements
- Modular Arithmetic
- User Input Handling
- Encryption and Decryption Logic
- Graphical User Interface (GUI)
- File encryption and decryption
- Support for additional classical cipher algorithms
- Password strength validation before encryption
- Integration with modern encryption algorithms such as AES
The following screenshots demonstrate the encryption process, successful decryption using the correct key, and the program's response when an incorrect decryption key is entered.
Miracle Godwin Ogbo
Aspiring Penetration Tester | Cybersecurity Enthusiast | Python Developer
Developed during the DecodeLabs Internship Program.
GitHub https://github.com/Miracle-Godwin-Ogbo
LinkedIn https://www.linkedin.com/in/miracle-godwin-ogbo-19a3a2241
This project was developed as part of my learning journey during the DecodeLabs Cybersecurity Internship. It demonstrates the basic principles of the Caesar Cipher and helped me improve my understanding of Python programming and introductory cryptography.
The Caesar Cipher is a simple encryption technique designed for educational purposes and is not secure enough for protecting sensitive information. Modern applications use stronger encryption algorithms to secure data.





