One-Time Pad (OTP)
A theoretically unbreakable encryption method using a random key that is as long as the message, discarded after one use.
📜
The statement of the theorem
Let be the plaintext message, be the key, and be the ciphertext, all defined over a finite field (vectors of length ). The key must satisfy and be uniformly random and never reused. The encryption operation and decryption operation are defined using the XOR operation ():\n \n \nSince is uniformly random and independent of , the resulting ciphertext is statistically indistinguishable from a uniform random sequence, ensuring perfect secrecy (Shannon's perfect secrecy).
Source: Wikipedia