Re: Is there a SHA1PRNG standard?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


sci.crypt archive

Re: Is there a SHA1PRNG standard?

From: David Wagner <daw@taverner.cs.berkeley.edu>
Date: Sat Apr 22 2006 - 20:16:11 CEST

clark wrote:
>That is: Why would _any_ function with a term that includes the word
>RANDOM and in this case SecureRandom, even starting with a particular
>seed value... why would this give a certain output or provide _any_
>predictability?

It wouldn't. At least, I wouldn't expect it to.

>If you want a certain output given a certain seed (or key) you are
>talking abount hash or cipher behavior, aren't you?

Right. That's what I would have thought, too.

>When you are using a function called SecureRandom you should be
>getting unpredictable results, and if you seed it that should either
>add or remove some entropy somewhere, but your results should never
>repeat with or without a seed, should they?

Right. Agreed.

>I am completely missing something here.

I don't think you're missing anything. If you're missing something,
I'm missing it, too.
Received on Mon May 1 02:03:39 2006