Deciphering One-Time Pad Code?



From skimming through this newsgroup I can tell you guys get a lot of
one-time questions from people who haven't read the FAQ. My apologies
in advance if this has been previously covered.

Back when I was a kid, I remember my dad explaining a code to me that,
in retrospect, I believe is a one-time pad. The code revolves around
two parties owning the same book and agreeing on a specific page
number in advance. The way the code works is, your message ("Hello")
becomes the numbers that those letters appear on that page in the book
(say, "3,10,17,22,23"). (There is probably a specific, common name for
this that I am not aware of. I apologize for that.)

I have written a simple program that does the above. For the
encryption key, the program allows you to use any website, any web-
hosted document, any binary file (like a .jpg or a .bmp), or a local
text file.

I am probably fooling myself, but my question is, assuming the
location of the key remains an unshared secret, isn't this code
unbreakable? I do not belive the numbers provided offer any
statistical clues. I plan on releasing my program to the public soon
and I am considering including a code and offering a financial reward
for breaking it. The amount of the reward will directly coincide with
how naive you guys think I am being for doing so. :)

Thanks in advance for any insight and information you all have to
offer me.

Rob

.


Quantcast