Re: One-Time Pads [was: Re: Help: Randomizing a List of Numbers]

From: Tim Smith (reply_in_group_at_mouse-potato.com)
Date: 07/21/04


Date: Wed, 21 Jul 2004 17:17:24 GMT

On 2004-07-20, Alexander Mulligan <alexander@mail2america.com> wrote:
> You generate list of random numbers or strings and then encrypt a message
> using one of those strings/numbers for each character as it comes and
> never repeat the use of one of those strings then throw away the key.
>
> Is that right?

Right.

> Completely unbreakable (???)

Under certain assumptions. First, that it is used correctly (e.g., you
really do throw away the pad as soon as you use it). Second, that your
random key is indeed random.

> My solution to the insecurity of the internet is to send private
> communications in a letter hidden inside a package via parcel post.
>
> I just don't trust PGP or SSH or any of those other encryption schemes.

PGP is orders of magnitude more secure against a determined adversary than
letters hidden inside a package sent via parcel post.

...
> You sure could fit a lot of them on a CD.

Yes. Many people overestimate how rapidly the key would be used, and so
think distributing CDs would be a nightmare, but I think they are way off.

Checking my home machine, I see the following:

    Uptime: 7 days, 6 hours
    Traffic on eth0: received 274 Mbytes, sent 196 Mbytes

For my machine at the office:

    Uptime: 14 days, 22 hours
    Traffic on eth0: received 376 Mbytes, sent 75 Mbytes

Based on those numbers, and my guess as to how much of that traffic was
between my home and work, if I were to use a one-time pad to encrypt traffic
between home and work, one CD a month would easily cover it. One DVD would
probably cover a whole year.

A CD a month, or even a CD a week, would not be a distribution nightmare.

-- 
--Tim Smith


Relevant Pages

  • Re: Cryptographic protocols, again
    ... decrypted (to prove that I really did encrypt all thirty-six dice rolls). ... Server picks from a random set of strings ... Encrypt the 36 strings with your own private key AND ...
    (rec.games.backgammon)
  • Re: Cross platform password string encryption
    ... few people use Delphi or C# compared to C ... The consuming code doesn't use the library code in the right way. ... a raw key directly to the encrypt routine. ... The consuming code is trying to pass strings to the routines and ...
    (sci.crypt)
  • Re: Newbie data size encryption questions
    ... amount of data that I can encrypt without the system being insecure? ... For example, if i wanted to encrypts strings of say 5 or 10 characters, ... bytes for AES] and other modes like CTR would need an IV. ...
    (sci.crypt)
  • Re: Linux System Users Login/Password?
    ... So far I've managed to pull all of the shadow password strings out and into a database, but is there any way of 'matching' the encrypted strings if you are given the plain text version, like with md5? ... PHP has a function named 'crypt' that will encrypt strings in the same way the password is encrypted into the password file. ... Do you really want to pull all the shadow entries into a database? ...
    (comp.lang.php)
  • Re: Storing connection strings
    ... An answer will depend heavily on who you are trying to protect it from, ... might also encrypt the key value. ... again perhaps encrypted and the keys protected by ACLs. ... Search for "COM+ Object Constructor Strings". ...
    (microsoft.public.vb.database)