feal-differential-cryptanalysis
Installation
SKILL.md
FEAL Differential Cryptanalysis
Overview
This skill provides structured guidance for implementing differential cryptanalysis attacks on FEAL and similar Feistel-network block ciphers. Differential cryptanalysis exploits how specific input differences propagate through cipher rounds with predictable probabilities, enabling key recovery.
Core Principles
Theory Before Implementation
Before writing any attack code:
- Understand the cipher structure - Identify the Feistel network layout, round function (F-function), key schedule, and number of rounds
- Study the F-function's differential properties - Determine which input differences produce which output differences with high probability
- Identify differential characteristics - Find high-probability differential trails through the cipher rounds
- Formulate the attack equations - Understand how key bits relate to observable output differences