SKIP TO CONTENT
← ALL OPENINGSBC4 · THE FRENCH DEFENCE
PROJECT 04

Image Encryption

Hybrid Cryptography CLI

1
command to encrypt or decrypt
AESRSAPython
FIG. IMAGE ENCRYPTIONLIVE TRACE
01

THE PROBLEM

Bulk encryption needs speed, key exchange needs safety — picking one primitive means compromising the other.

02

THE APPROACH

Hybrid encryption: fast AES for the file, RSA for the key exchange, with generated key pairs and a single command for each operation.

03

THE ARCHITECTURE

  1. 01
    Plain image
    ↓
  2. 02
    AES key
    ↓
  3. 03
    RSA-encrypted key
    ↓
  4. 04
    Cipher file
    ↓
  5. 05
    CLI decrypt
04

THE IMPLEMENTATION

  1. 01Automated key pair generation.
  2. 02Encrypt/decrypt as a single command, keeping key handling simple.
05

THE RESULTS

  • Real confidentiality protection without the key-handling headaches.
06

WHAT I LEARNED

“Cryptography is a workflow problem as much as a mathematical one.”

07

TECH STACK

AES
RSA
Hybrid Encryption
Python
CLI