Difference between revisions of "One-time pad"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Encryption)
Line 14: Line 14:
  
 
* [[Cryptography]]
 
* [[Cryptography]]
 +
* [[Encryption]]
 
* [[Key (cryptography)]]
 
* [[Key (cryptography)]]
 
* [[Plaintext]]
 
* [[Plaintext]]

Revision as of 08:11, 17 August 2015

In cryptography, the one-time pad (OTP) is an encryption technique that cannot be cracked if used correctly.

In this technique, a plaintext is paired with a random secret key. (The key itself is also referred to as a one-time pad).

Then, each bit or character of the plaintext is encrypted by combining it with the corresponding bit or character from the pad using modular addition.

If the key is truly random, is at least as long as the plaintext, is never reused in whole or in part, and is kept completely secret, then the resulting ciphertext will be impossible to decrypt or break.

It has also been proven that any cipher with the perfect secrecy property must use keys with effectively the same requirements as OTP keys.

However, practical problems have prevented one-time pads from being widely used.

See also

External links