Skip to content
All projects

AES Visual Encryptor

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

Tech stack

Languages
Frameworks & libraries

Performance & metrics

  • Lossless encrypted byte serialization
  • Cryptographic integrity validation (HMAC)

Why I built it

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

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