Three Feistel rounds are not a strong PRP
ProvedLubyRackoff.three_round_not_strongcryptographyfeistelpseudorandom-permutation
If , some distinguisher making at most queries (to the permutation or its inverse) satisfies
Preamble
import Definitions.Def_LubyRackoff
Formal statement
namespace LubyRackoff
/-- Three rounds are not a strong PRP: some distinguisher making 3 forward or inverse
queries has advantage at least `1 - 2/N` against the 3-round Feistel network. -/
theorem three_round_not_strong {G : Type} [AddCommGroup G] [Fintype G] [DecidableEq G]
[Nontrivial G] :
∃ D : Dist ((G × G) ⊕ (G × G)) (G × G), D.QueryBounded 3 ∧
1 - 2 / (Fintype.card G : ℝ) ≤ sprpAdv 3 D := by
sorry
end LubyRackoff
Source
Luby–Rackoff, SIAM J. Comput. 17(2) 1988, https://doi.org/10.1137/0217022