feal-differential-cryptanalysis

Implement differential cryptanalysis attacks on FEAL Feistel ciphers to recover keys.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/Zurybr/lefarma-skills --skill feal-differential-cryptanalysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feal-differential-cryptanalysis
Source: https://github.com/Zurybr/lefarma-skills/tree/main/letta/benchmarks/trajectory-only/feal-differential-cryptanalysis
Command: npx skills add https://github.com/Zurybr/lefarma-skills --skill feal-differential-cryptanalysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a structured approach to breaking FEAL and similar Feistel ciphers by implementing advanced differential cryptanalysis techniques, moving beyond generic statistical methods.

Core Features & Use Cases

  • Differential Characteristic Construction: Guides the creation of precise differential paths for FEAL.
  • Key Recovery: Details the process of recovering cipher keys using high-probability differentials.
  • Verification Strategies: Offers methods to ensure the attack's correctness and diagnose failures.
  • Use Case: When tasked with analyzing the security of a system using FEAL encryption, this Skill provides the exact methodology to perform a differential cryptanalysis attack and potentially recover the encryption key.

Quick Start

Use the feal-differential-cryptanalysis skill to implement a differential cryptanalysis attack on FEAL.

Frequently Asked Questions about feal-differential-cryptanalysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does differential cryptanalysis work on FEAL block ciphers?

You can break FEAL encryption by constructing differential characteristics that map input differences to output differences through the F-function. This Skill guides the creation of these differential paths and details the process of using them to recover the cipher keys.

How do I recover encryption keys from a FEAL Feistel cipher?

You recover FEAL cipher keys by constructing high-probability differential characteristics and analyzing the resulting ciphertext differentials. This Skill details the exact methodology for exploiting the F-function to perform key recovery and verify attack correctness.

Do I need to understand cipher structures to perform differential cryptanalysis?

Yes, effective differential cryptanalysis on FEAL requires an understanding of cipher structures and probability analysis to construct precise differential paths. This Skill focuses on advanced techniques, moving beyond generic statistical methods to exploit specific F-function properties.

What is the best way to construct differential characteristics for a FEAL cipher attack?

The best way to construct differential characteristics for FEAL is to exploit the specific differential properties of the F-function rather than using ad-hoc statistical methods. This Skill guides the creation of precise differential paths to successfully recover cipher keys.

How can I verify the correctness of a differential cryptanalysis attack on FEAL?

You can verify the correctness of a differential cryptanalysis attack on FEAL by using the specific verification strategies offered by this Skill. These methods help ensure the attack's accuracy and diagnose potential failures during the key recovery process.

Why use differential characteristics instead of statistical methods for breaking FEAL?

You should use differential characteristics instead of ad-hoc statistical methods because it provides a structured approach to exploiting the specific F-function properties of FEAL. This allows for precise differential path construction and more reliable cipher key recovery.