https://github.com/mohamad-shosha/aes-algorithm
This project implements AES encryption and decryption for both text and BMP images using three cryptographic modes: ECB, CBC, and CTR. It securely encrypts sensitive data, whether plain text or image files.
https://github.com/mohamad-shosha/aes-algorithm
algorithms python
Last synced: 2 months ago
JSON representation
This project implements AES encryption and decryption for both text and BMP images using three cryptographic modes: ECB, CBC, and CTR. It securely encrypts sensitive data, whether plain text or image files.
- Host: GitHub
- URL: https://github.com/mohamad-shosha/aes-algorithm
- Owner: Mohamad-shosha
- Created: 2024-12-22T17:28:38.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-12-22T17:32:30.000Z (4 months ago)
- Last Synced: 2024-12-22T18:28:58.748Z (4 months ago)
- Topics: algorithms, python
- Language: Python
- Homepage:
- Size: 4.66 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AES Image and Text Encryption/Decryption
This project implements AES encryption and decryption for text and BMP images using three modes:
- ECB (Electronic Codebook)
- CBC (Cipher Block Chaining)
- CTR (Counter)## Features
- Encrypt and decrypt plaintext and BMP images.
- Supports three AES modes: ECB, CBC, and CTR.
- Uses SHA-256 for secure key hashing.
- Random initialization vectors (IVs) for CBC and CTR.## Prerequisites
- Python 3.x
- Libraries: `pycryptodome`, `Pillow`Install the required libraries using:
```bash
pip install pycryptodome Pillow