[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/24481] SecureRandom.setSeed has no impact
From: |
david at jpackage dot org |
Subject: |
[Bug classpath/24481] SecureRandom.setSeed has no impact |
Date: |
11 Apr 2006 04:34:36 -0000 |
------- Comment #6 from david at jpackage dot org 2006-04-11 04:34 -------
I was saying something slightly different, since I did not test the program
across multiple runs. I did test nextBytes() within the same program run, and
this produced identical bytes with each successive call to nextBytes().
Checking the javadocs, I find:
``Note that this instance of SecureRandom has not been seeded... [but] [i]f a
call is not made to setSeed, the first call to the nextBytes method will force
the SecureRandom object to seed itself.''
Note that even though `new SecureRandom()' does not seed itself, any attempt to
extract randomness will cause it to seed itself first before returning any
bytes, so I believe the GNU implementation to be incorrect.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24481
- [Bug classpath/24481] SecureRandom.setSeed has no impact, david at jpackage dot org, 2006/04/07
- [Bug classpath/24481] SecureRandom.setSeed has no impact, csm at gnu dot org, 2006/04/11
- [Bug classpath/24481] SecureRandom.setSeed has no impact,
david at jpackage dot org <=
- [Bug classpath/24481] SecureRandom.setSeed has no impact, csm at gnu dot org, 2006/04/11
- [Bug classpath/24481] SecureRandom.setSeed has no impact, david at jpackage dot org, 2006/04/11
- [Bug classpath/24481] SecureRandom.setSeed has no impact, csm at gnu dot org, 2006/04/12
- [Bug classpath/24481] SecureRandom.setSeed has no impact, cvs-commit at developer dot classpath dot org, 2006/04/12
- [Bug classpath/24481] SecureRandom.setSeed has no impact, csm at gnu dot org, 2006/04/12