[cryptography] Weak random data XOR good enough random data = better random data?

2014-07-28 Thread Lodewijk andré de la porte
Hey everyone, If I XOR probably random data with good enough random data, does that result in at least good enough random data? I'm working on some Javascript client side crypto. There's a cryptographic quality random generator present in modern browsers, but not in older ones. I also don't

Re: [cryptography] Weak random data XOR good enough random data = better random data?

2014-07-28 Thread Kevin
On 7/28/2014 12:23 PM, Lodewijk andré de la porte wrote: Hey everyone, If I XOR probably random data with good enough random data, does that result in at least good enough random data? I'm working on some Javascript client side crypto. There's a cryptographic quality random generator

Re: [cryptography] Weak random data XOR good enough random data = better random data?

2014-07-28 Thread Michael Kjörling
On 28 Jul 2014 18:23 +0200, from l...@odewijk.nl (Lodewijk andré de la porte): If I XOR probably random data with good enough random data, does that result in at least good enough random data? If you are truly concerned, have you considered implementing a proper CSPRNG yourself in Javascript

Re: [cryptography] Weak random data XOR good enough random data = better random data?

2014-07-28 Thread Natanael
Den 28 jul 2014 18:23 skrev Lodewijk andré de la porte l...@odewijk.nl: Hey everyone, If I XOR probably random data with good enough random data, does that result in at least good enough random data? I'm working on some Javascript client side crypto. There's a cryptographic quality random

Re: [cryptography] Weak random data XOR good enough random data = better random data?

2014-07-28 Thread Seth David Schoen
Lodewijk andré de la porte writes: I don't see how it could reduce the randomness to XOR with patterned data. If someone knows better of this, let me know. If I'm correct that also means it should be okay to reuse the few KB's should they ever run out (in this system), at worst it no longer

Re: [cryptography] Weak random data XOR good enough random data = better random data?

2014-07-28 Thread Tom Ritter
You're talking about two different things here. As others have said, if you XOR good random with 'not very good but non-malicious random' - you are unlikely to reduce the entropy. (And as Seth said, if you XOR good random with malicious random (e.g. a trojaned RDRAND instruction) you're in bad

[cryptography] NSA Systems Abroad Query

2014-07-28 Thread John Young
What is NSA WB Quad System for GCHQ, Amberwind (PL), TIGERFIRE (IN), IBIS (AU, JP), GCSB SSO Site (NZ): http://t.co/AoBG9jyuAYhttp://cryptome.org/2014/07/nsa-fy13-semiannual-report.pdf This is an NSA travel expenses report. Via Jason Leopold. ___

Re: [cryptography] Weak random data XOR good enough random data = better random data?

2014-07-28 Thread James A. Donald
On 2014-07-29 02:23, Lodewijk andré de la porte wrote: Hey everyone, If I XOR probably random data with good enough random data, does that result in at least good enough random data? Yes, but other mixing functions are better. Best to hash all streams together, rather than xor them together.

Re: [cryptography] NSA Systems Abroad Query

2014-07-28 Thread coderman
On Mon, Jul 28, 2014 at 1:30 PM, John Young j...@pipeline.com wrote: What is NSA WB Quad System my money on: WideBand Quadrature Receiver System (no doubt they build very nice ones...) ___ cryptography mailing list cryptography@randombit.net