Non-Degenerate One-Time Pad and the integrity of perfectly secret messages
Alex Shafarenko
TL;DR
This work tackles the problem of achieving unconditional integrity for perfectly secret communications by augmenting the One-Time Pad with non-degenerate diffusion. It introduces a novel NDOTP that encodes plaintext and key as permutations in a Lehmer/factoradic framework, producing a diffusive, nonlocal impact from ciphertext perturbations. The approach combines a Big-endian PHT with CRT, a differentiation of Lehmer codes, and a Pseudo Foata Injection to inject robust redundancy, all while preserving perfect secrecy and maintaining quadratic-time complexity. The result is a practical toolkit—NDOTP, PHT/CRT, Derivative diffusion, and PFI—that yields unconditional integrity guarantees without requiring extra integrity keys, with performance suited to realistic message sizes.
Abstract
We present a new construction of a One Time Pad (OTP) with inherent diffusive properties and a redundancy injection mechanism that benefits from them. The construction is based on interpreting the plaintext and key as members of a permutation group in the Lehmer code representation after conversion to factoradic. The so constructed OTP translates any perturbation of the ciphertext to an unpredictable, metrically large random perturbation of the plaintext. This allows us to provide unconditional integrity assurance without extra key material. The redundancy is injected using Foata's "pun": the reading of the one-line representation as the cyclic one; we call this Pseudo Foata Injection. We obtain algorithms of quadratic complexity that implement both mechanisms.
