Security & Cryptography
Open Source

AES Visual Encryptor

PythonCryptography (Fernet)Pillow (PIL)

A specialized cryptographic tool that serializes raw image data into encrypted binary (`.bin`) files to prevent metadata scraping and unauthorized access.

Tech Stack

PythonCryptography (Fernet)Pillow (PIL)

System Metrics

Lossless encrypted byte serialization
Cryptographic integrity validation (HMAC)

Why Did I Build This?

"Social media platforms heavily monitor, scrape, and compress shared images. Furthermore, compromised accounts leak historical media. I built this tool to securely transmit images to peers as meaningless binary blobs, ensuring data is only accessible to those holding the specific key."

Architecture & Decisions

The application uses Python's `Pillow` library to extract raw byte data from images. It applies AES encryption in CBC mode combined with HMAC (via the Fernet specification) to guarantee both absolute privacy and data integrity. The resulting encrypted payload is serialized into a `.bin` file, and the unique decryption key is safely exported to a `.txt` file.

Key Features

  • 01.Raw image byte extraction and serialization
  • 02.AES-CBC encryption with HMAC integrity validation
  • 03.Secure `.bin` payload generation
  • 04.Isolated key management system