Partitioning cryptanalysis

Developed by Carlo Harpes in 1995, the attack is a generalization of linear cryptanalysis.

Harpes originally replaced the bit sums (affine transformations) of linear cryptanalysis with more general balanced Boolean functions.

He demonstrated a toy cipher that exhibits resistance against ordinary linear cryptanalysis but is susceptible to this sort of partitioning cryptanalysis.

In its full generality, partitioning cryptanalysis works by dividing the sets of possible plaintexts and ciphertexts into efficiently computable partitions such that the distribution of ciphertexts is significantly non-uniform when the plaintexts are chosen uniformly from a given block of the partition.

A specific partitioning attack called mod n cryptanalysis uses the congruence classes modulo some integer for partitions.