The One-Time-Pad generalized to groups
We recap the usual OTP with encryption in
The usual OTP
The One-Time-Pad is an uncrackable albeit idealistic encryption scheme. It goes as follows:
Definition (One-Time-Pad [OTP]): Define
:
- Gen: sample
- Enc: define
- Dec: define
It is uncrackable in the sense that it achieves indistinguishable encryption in the presence of an eavesdropper in the information-theoretic sense1:
Intuition behind the OTP’s security
When you first see this security result, it may be a bit surprising and counter-intuitive. For example, it may happen that
Generalizing the “everything can result from anything” property
Is this property of “everything can result from anything” intrinsic to strings and xor operations? Fortunately, having taken math lectures for my minor helped me quickly answering this question: it’s a property of groups. Let
Let’s formulate the OTP over groups:
Definition (One-Time-Pad over Group [G-OTP]): Let
be a group where multiplication and inversion can be efficiently computed and from which group elements can be sampled from uniformly at random in an efficient way. Define
:
- Gen: sample
- Enc: define
for - Dec: define
You see that we needed some conditions on the group which were implicit in the choice of
- Jonathan Katz and Yehuda Lindell. 2007. Introduction to Modern Cryptography (Chapman & Hall/Crc Cryptography and Network Security Series). Chapman & Hall/CRC. https://dl.acm.org/doi/book/10.5555/1206501 ^
- Depending on your directional flavor, it may also be
such that . ^