Re: Java encryption implementation

From: TC (aatcbbtccctc_at_yahoo.com)
Date: 11/29/05


Date: 29 Nov 2005 04:28:37 -0800


megagurka wrote:
> TC wrote:
> > There are several aspects of "random numbers" that are important in
> > cryptography. One of these is randomness. (If the generator produces
> > highly non-random results, this could help an attacker to crack it.)
> > But another one is /unpredictability/ - a completely different thing.
>
> Incorrect. Randomness and unpredictability are equivalent.

That would come as a surprise to the authors of RFC1750: "[traditional
random number generator sequences] may be adequate in simulations
(Monte Carlo experiments) [...] However, such sequences are clearly bad
for use in security applications [because] they are fully predictable
if the initial state is known."

> > Say you generate a huge number of sequential integers. That sequence of
> > integers is:
> > - randomly distributed (no integer appares more commonly than any other
> > one);
>
> Your sequence is not "randomly distributed".

Please tell me which integer in the set of integers from 1 to 1000000
exhibits a statistical bias in relation to the other integers in that
set.

> > So my generator, which I offered as an instructive joke, was only meant
> > to illustrate that randomness is /not enough/, and having a long period
> > is also /not enough/. The numbers must also be /unpreictable/ - a
> > completely different thing.
>
> Of course randomness is enough for a RNG.

So all the crypto experts here who disagree with that, are wrong?

TC



Relevant Pages

  • Re: A secure, trustworthy Win XP compitable encryption program with GUI interface?
    ... > A finer resolution in measurement would lead to a more certain ... hoping for a good source of randomness. ... > Shannon entropy is one possible estimate. ... Shannon entropy does *not* estimate the unpredictability ...
    (sci.crypt)
  • Re: A secure, trustworthy Win XP compitable encryption program with GUI interface?
    ... >>While there may seem to be a lot of variation in first ... > There was a study of this form of randomness some time back. ... Since we have no measure of unpredictability, ... only way any hash function can "preserve information" ...
    (sci.crypt)
  • Re: Does anybody have any evidence that all evolutionary events are
    ... Chaotic systems are unpredictable unless you know the initial conditions ... Epistemic randomness is unpredictability due to our ignorance about ... Non-epistemic randomness is unpredictability due to the fact that the ... Quantum phenomena, in particular quantum wavefunction collapse, ...
    (talk.origins)
  • Re: Outdated social science
    ... >> the extreme case, all genes). ... half randomness seems like a ... >> surprise, hence not a result of bias. ... nutrition hypothesis, which predicts that gains in IQ will predominantly ...
    (rec.arts.sf.written)
  • Re: Randomness, Reality and Einstein
    ... "I think there is a difference between claiming that events in the ... to fit thesolar system into the Platonic solids to give reality to his ... Chaitin arguing that unpredictability and randomness might lie at the ...
    (uk.philosophy.humanism)