Skip to content
Projects

dhuertas/AES has 658 GitHub stars and 317 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 23:45 UTC. Last push 2024-11-28.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

AES algorithm implementation in C

Developer Tools

README.md

Original

AES

AES algorithm implementation using C. Check out this other repo on how to use it with different modes of operation.

Disclaimer

This is a proof of concept implementation and should not be used in a productive environment! For example a lookup table implementation of the addition in GF28 is used which is vulnerable to side channel cache attacks. See POC.

Example

Compile the source code (e.g. using GCC):

gcc gmult.c aes.c main.c -o aes

And run:

./aes
Plaintext message:
00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff
Ciphered message:
8e a2 b7 ca 51 67 45 bf ea fc 49 90 4b 49 60 89
Original message (after inv cipher):
00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff