Home     Blog

One-Time Pad

A one-time pad is the only theoretically unbreakable cipher. A one-time pad is a private key, or symmetric, cipher where the key size is equal to the plaintext size. Because of this, the key is never reutilized. As the key is never reutilized, there is no basis for mathematical cryptanalysis.

An example of a very poor one-time pad would be if you were to encrypt a letter to a friend using a substitution cipher and using Hemingway’s A Farewell to Arms as a key. Your friend could decrypt your letter using an identical copy of A Farewell to Arms. No one else would be able to decrypt your message, unless they had a copy of the book you were using as a key.

This is actually a very poor one-time pad because books do not have random text. A message encrypted using a book as a one-time pad would actually not be difficult to cryptanalyze.one time pad One Time Pad

For a one-time pad to be truly unbreakable, the key must be generated with effective randomness.

One-time pad ciphers are sometimes called Vernam ciphers.

VN:F [1.9.17_1161]
Rating: 6.0/10 (1 vote cast)
One-Time Pad, 6.0 out of 10 based on 1 rating
Follow Will.Spencer on

Leave a Reply

Related Posts

  • Substitution and Transposition Ciphers

    Substitution and transposition ciphers are two categories of ciphers used in classical cryptography. Substitution and transposition differ in how chunks of the message are handled by the encryption process. Substitution ciphers Substitution ciphers encrypt plaintext by changing the plaintext one piece at a time. The Caesar Cipher was an early substitution cipher. In the Caesar [...]...


  • Block and Stream Ciphers

    Block and Stream Ciphers are two categories of ciphers used in classical cryptography. Block and Stream Ciphers differ in how large a piece of the message is processed in each encryption operation. Block Ciphers Block ciphers encrypt plaintext in chunks. Common block sizes are 64 and 128 bits. Stream Ciphers Stream ciphers encrypt plaintext one [...]...


  • Round Trip Time

      Round Trip Time, or RTT, also known as “round-trip delay time” is the time it takes for a signal to be sent from a transmitter to a receiver plus the time it takes to verify that the signal has been received; therefore, Round Trip Time is the time it takes for a signal to be [...]...


  • Cryptographic Algorithms

    Symmetric Cryptographic Algorithms DES (Data Encryption Standard) is perhaps the most widely used cryptographic algorithm. DES is based upon IBM’s Lucifer algorithm. The NBS (National Bureau of Standards) and the NSA (National Security Agency) adopted DES as a federal standard in 1977. DES is a symmetric cipher with an effective key length of 56 bits. [...]...