From: Pashley on
On Nov 11, 2:50 pm, "Jyoti Sharma" <jyoti.mic...(a)gmail.com> wrote:
> On Tue, 11 Nov 2008 12:06:20 +0530, Bill B <wrongaddr...(a)att.net> wrote:
> > Encoding data using the XOR function against a "one time pad" of the
> > same or longer length of the file seems to yield an unbreakable cypher
> > message since there is more than one solution using different keys.
>
> You are right, if the key is truly random, never reused, and kept secret, the one-time pad provides perfect secrecy otherwise very simple attack can render it useless.
>
> You may readhttp://en.wikipedia.org/wiki/One-time_pad.

Other references:
http://en.citizendium.org/wiki/One_time_pad
http://www.ranum.com/security/computer_security/papers/otp-faq/