Skip to main content
5 of 8
fixed typo in title
user avatar
user avatar

One time pad: why is it useless in practice?

The symmetric cryptosystem One time pad (OTP) seems to be very beautiful since it is perfectly secret according to Shannon. Many books, however, point out that the main drawback is that one must create a secret key of length as the plaintext. For this reason the concept of perfect secrecy is nowadays abandoned, and we prefer other types of cryptosystems.

Now for example suppose I want to encode my text message with the ASCII scheme, and moreover suppose that this plaintext occupies 10 gigabytes, thus (using OTP) also the key occupies 10 gigabytes. I think however this is a ''sustainable price'' because on the other hand I'm sure that the ciphertext is can't be attacked.

Practically, I don't understand why having such long keys with OTP is a big disavantage even if we reach "the dream" namely the perfect secrecy . Nowadays the storage of informations is very easy, so where is really the problem? I can for example share the "long key" with a physical meeting!

Thanks in advance

Dubious
  • 273
  • 1
  • 2
  • 6