AES Encryption

Advanced Encryption Standard (AES) is a symmetric encryption algorithm widely used to secure sensitive data.

Key Generation

Generate a secure key and initialization vector (IV) for AES encryption

Encrypt File

Upload a file and encrypt it with AES

Decrypt File

Upload an encrypted file and decrypt it with AES

About AES Encryption

The Advanced Encryption Standard (AES) is a symmetric block cipher chosen by the U.S. government to protect classified information. It is implemented in software and hardware throughout the world to encrypt sensitive data.

  • AES is a symmetric key algorithm, meaning the same key is used for both encryption and decryption.
  • It operates on fixed-size blocks of data (128 bits) using cryptographic keys of 128, 192, or 256 bits.
  • AES is considered secure against all known practical attacks.
How AES Works:
  1. Key Expansion: The AES key is expanded into a key schedule.
  2. Initial Round: AddRoundKey - each byte of the state is combined with a block of the round key using bitwise XOR.
  3. Rounds (9, 11, or 13 rounds depending on key size):
    • SubBytes - a non-linear substitution step where each byte is replaced with another according to a lookup table.
    • ShiftRows - a transposition step where the last three rows of the state are shifted cyclically.
    • MixColumns - a mixing operation which operates on the columns of the state, combining the four bytes in each column.
    • AddRoundKey
  4. Final Round (without MixColumns):
    • SubBytes
    • ShiftRows
    • AddRoundKey