Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #21585

Re: creating byte[] with subfields

From Joshua Cranmer <Pidgeot18@verizon.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: creating byte[] with subfields
Date 2013-01-20 11:01 -0600
Organization A noiseless patient Spider
Message-ID <kdh7u6$5vj$1@dont-email.me> (permalink)
References (1 earlier) <OSgKs.128923$pV4.20397@newsfe21.iad> <olijf81r5e0svadmqjavkqfholgtsqhbct@4ax.com> <xJkKs.124473$lw2.45998@newsfe30.iad> <rcikf8dvd3v6roe6urunfdgha0out6eqqd@4ax.com> <6xLKs.77341$qb3.18716@newsfe25.iad>

Show all headers | View raw


On 1/19/2013 11:46 PM, Daniel Pitts wrote:
> On 1/18/13 11:24 PM, Roedy Green wrote:
>> On Fri, 18 Jan 2013 15:16:45 -0800, Daniel Pitts
>> <newsgroup.nospam@virtualinfinity.net> wrote, quoted or indirectly
>> quoted someone who said :
>>
>>> FWIW, XOR encryption is more like XOR obfuscation. It doesn't actually
>>> encrypt, at least not the naive approach to it.
>>
>> It depends. I just finished a project which I will be permitted to
>> release into the public domain in a year which uses one time pads,
>> which XOR messages with strings of truly random bits.
>>
>> The only way you can crack it is to crack the machine at either end or
>> intercept the key transfer.  You can't do it just by studying
>> messages.
>>
> It really does depend.

No, it doesn't. A one-time pad is provably 100% perfectly secure, and is 
the only cryptographic method to be so proven. The requirements is that 
you have a string of random bits as long as the message you send and you 
never reuse those random bits ever again.

-- 
Beware of bugs in the above code; I have only proved it correct, not 
tried it. -- Donald E. Knuth

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

creating byte[] with subfields Roedy Green <see_website@mindprod.com.invalid> - 2013-01-18 00:35 -0800
  Re: creating byte[] with subfields Jim Janney <jjanney@shell.xmission.com> - 2013-01-18 08:31 -0700
    Re: creating byte[] with subfields Jim Janney <jjanney@shell.xmission.com> - 2013-01-18 10:29 -0700
  Re: creating byte[] with subfields Nigel Wade <nmw@ion.le.ac.uk> - 2013-01-18 16:23 +0000
  Re: creating byte[] with subfields Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-01-18 10:53 -0800
    Re: creating byte[] with subfields Roedy Green <see_website@mindprod.com.invalid> - 2013-01-18 14:23 -0800
      Re: creating byte[] with subfields Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-01-18 15:16 -0800
        Re: creating byte[] with subfields Roedy Green <see_website@mindprod.com.invalid> - 2013-01-18 23:24 -0800
          Re: creating byte[] with subfields Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-01-19 21:46 -0800
            Re: creating byte[] with subfields Joshua Cranmer <Pidgeot18@verizon.invalid> - 2013-01-20 11:01 -0600
              Re: creating byte[] with subfields Arne Vajhøj <arne@vajhoej.dk> - 2013-01-20 12:54 -0500
            Re: creating byte[] with subfields Arne Vajhøj <arne@vajhoej.dk> - 2013-01-20 12:51 -0500
        Re: creating byte[] with subfields Arne Vajhøj <arne@vajhoej.dk> - 2013-01-19 13:34 -0500
  Re: creating byte[] with subfields Arne Vajhøj <arne@vajhoej.dk> - 2013-01-18 20:33 -0500
    Re: creating byte[] with subfields Arne Vajhøj <arne@vajhoej.dk> - 2013-01-18 20:48 -0500

csiph-web