Skip to main content

algebraic_immunity_of

Function algebraic_immunity_of 

Source
pub fn algebraic_immunity_of(truth: &[bool]) -> Option<AlgebraicImmunityReport>
Expand description

The algebraic-immunity profile of a Boolean function given as its 2ⁿ truth table. Low immunity is a certified structural weakness: a degree-AI annihilator turns each keystream bit of a filter generator using C into a degree-AI equation in the secret state (algebraic_filter_attack). Maximal immunity (AI = ⌈n/2⌉) is the ceiling — no low-degree relation to exploit. None for a malformed table.