This project provides C-based implementations of cryptanalytic attacks on the Advanced Encryption Standard (AES), focusing on two methods: the Yoyo attack and the Boomerang attack. These techniques exploit weaknesses in reduced-round AES to recover secret keys and distinguish AES from random permutations.
- Yoyo Attack on 3- to 5-round AES: Implements key-independent distinguishers and key-recovery attacks with low computational complexity.
- Boomerang Attack on 6-round AES: Combines two short high-probability differentials into an effective distinguisher.
- C compiler (e.g., GCC)
- Basic understanding of AES encryption
- Familiarity with cryptographic attacks
- Clone the repository:
git clone https://github.com/yourusername/cryptanalysis-of-aes.git
- Navigate to the project directory:
cd cryptanalysis-of-aes
- Compile the project:
gcc -o cryptanalysis main.c yoyo_attack.c boomerang_attack.c aes.c
- Run the executable:
./cryptanalysis
- Yoyo Tricks with AES by Sondre Rønjom et al.
- Improved Boomerang Attacks on 6-Round AES by Augustin Bariant et al.