[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CD-reading for random keys



>Doe anyone know where sample code exists to enable one to read the digital
>stream from an audio CD?  If so, I'd appreciate some pointers to it via
>email.  It seems to me like an Audio Cd would make the perfect one-time

cdgrab (registered) will let you read "frames" (1/75sec of audio) directly into
a wav file. From there it's easy.. But:

>crypto system.  You merely start reading at a specific spot, tossing away
>bytes using a reproducable random number generator, then permuting
>those to form a XOR one time key of any length you want.

The "entropy" or randomness of audio data is LOW. That's why audio compresses
so well. However, the idea of keeping a one-time key on CD-ROM is good. I would
suggest recording thermal noise (Eg the hiss from an untuned FM radio), perhaps
XORing with a pseudo-random sequence to remove residual bias. Record 600M of
this onto a pair of writable CDs, and have your friend come and collect one of
them personally. Then you can send up to 600M of totally secure data before you
dispose of the disks (Microwave oven is fun :) and write a new pair.

--
                                  [email protected]            .-'~~~-.
                                  Fax: +64 7 847-5513        .'o  oOOOo`.
                                  Voice: NISTIM0L0C         :~~~-.oOo   o`.
 Fight Elected Dictatorship       PGP key available at:      `. \ ~-.  oOOo.
                                  [email protected] `.; / ~.  OO:
                                  2001/009734B1 or             .'  ;-- `.o.'
     SPLIT YOUR VOTE!             1024/842510D9               ,'  ; ~~--'~
                                    \|/                      ;   ;
                                ____\|//_______\|/________\\;_\\//___\|/___