0Pricing
Cryptology Academy · Lesson

Encrypting Files with AES in Practice

Use OpenSSL and Python to encrypt and decrypt real files with AES.

Welcome

Theory meets practice. In this lesson we encrypt and decrypt real files using AES-GCM in Python, the recommended mode for authenticated encryption.

Why AES-GCM?

AES-GCM provides Authenticated Encryption with Associated Data (AEAD). It encrypts AND produces a 16-byte authentication tag. Any tampering is detected before decryption.

All lessons in this course

  1. Symmetric Encryption Concepts
  2. AES Structure: Rounds & State Matrix
  3. AES Key Expansion & Key Sizes
  4. Encrypting Files with AES in Practice
← Back to Cryptology Academy