feal-linear-cryptanalysis

Perform FEAL linear cryptanalysis to recover keys from known plaintext-ciphertext pairs using bias propagation and key ranking.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/bianhaifeng789-hue/openclaw-config --skill feal-linear-cryptanalysis-bianhaifeng789-hue
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: feal-linear-cryptanalysis
Source: https://github.com/bianhaifeng789-hue/openclaw-config/tree/main/skills/tb2/feal-linear-cryptanalysis
Command: npx skills add https://github.com/bianhaifeng789-hue/openclaw-config --skill feal-linear-cryptanalysis-bianhaifeng789-hue

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides procedural guidance for attacking the FEAL cipher using linear cryptanalysis to recover keys from known plaintext-ciphertext data, focusing on mathematical analysis over brute-force approaches.

Core Features & Use Cases

  • Structured attack phases covering cipher analysis, linear approximations, bias accumulation, and key ranking.
  • Use cases include academic research, crypto challenges, and secure demonstration of vulnerability assessment with known pairs.

Quick Start

Implement a minimal FEAL example to practice validating a partial key guess against a reference implementation.

Frequently Asked Questions about feal-linear-cryptanalysis

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

FAQPage Schema
How does linear cryptanalysis work for recovering FEAL cipher keys?

Linear cryptanalysis recovers FEAL cipher keys by identifying linear approximations of the cipher's S-boxes and accumulating bias using the piling-up lemma to rank partial key guesses from known plaintext-ciphertext pairs.

What's the best way to plan a linear cryptanalysis attack on the FEAL block cipher?

The best way to plan a FEAL linear cryptanalysis attack is following structured phases: cipher analysis, linear approximation identification, bias accumulation, and key ranking to systematically recover keys from known plaintext data.

Can I use known plaintext-ciphertext pairs to assess FEAL cipher vulnerabilities?

Yes, you can use datasets of known plaintext-ciphertext pairs to perform FEAL vulnerability assessments, applying linear cryptanalysis techniques to demonstrate key-recovery experiments against multiple-round FEAL-family block ciphers.

How do I verify recovered keys against a reference FEAL implementation?

To verify recovered keys against a reference FEAL implementation, implement a minimal FEAL example to practice validating partial key guesses by testing them against the reference cipher's output with known plaintext-ciphertext pairs.

Does FEAL linear cryptanalysis require brute-force methods or mathematical analysis?

FEAL linear cryptanalysis focuses on mathematical analysis over brute-force approaches, using bias propagation and the piling-up lemma to systematically narrow down key candidates rather than exhaustively searching the keyspace.

When should I not use linear cryptanalysis for FEAL key recovery?

Linear cryptanalysis for FEAL key recovery is not suitable when you lack sufficient known plaintext-ciphertext pairs or when targeting cipher variants without identifiable linear approximations suitable for bias propagation analysis.