[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iaik-jce] Problems with SHA1Random and RandomSeedGenerator



Same thing as reported above appears to happen with SUN's 1.1.8 JRE:

========================
Java version number: 1.1.8
Java compiler: symcjit
Java vendor-specific string: Sun Microsystems Inc.
Java vendor URL: http://www.sun.com/
Java installation directory: C:\java\sunjre118
Java class format version number: 45.3
Java class path:
.;\java\https.jar;C:\java\sunjre118\lib\rt.jar;C:\java\sunjre11
8\lib\i18n.jar;C:\java\sunjre118\lib\classes.zip;C:\java\sunjre118\classes
Operating system name: Windows 95
Operating system architecture: x86
Operating system version: 4.10

Installed security providers providers:

Provider 1: IAIK  version: 2.5100000000000002
[Loaded java/lang/Long.class from C:\java\sunjre118\lib\rt.jar]
Provider 2: SUN  version: 1.0
Initing SHA1 Random....
[Loaded iaik/security/random/SHA1Random.class from \java\https.jar]
[Loaded iaik/security/random/MessageDigestRandom.class from
\java\https.jar]
[Loaded iaik/security/random/SecRandom.class from \java\https.jar]
[Loaded java/security/SecureRandom.class from
C:\java\sunjre118\lib\rt.jar]
[Loaded java/util/Random.class from C:\java\sunjre118\lib\rt.jar]
[Loaded iaik/security/md/SHA.class from \java\https.jar]
[Loaded java/security/MessageDigest.class from
C:\java\sunjre118\lib\rt.jar]
[Loaded iaik/security/md/a.class from \java\https.jar]
[Loaded iaik/utils/CryptoUtils.class from \java\https.jar]
[Loaded demo/asn1/csg3ReflImpl.class from \java\https.jar]
Got Random[Loaded java/io/InterruptedIOException.class from
C:\java\sunjre118\li
b\rt.jar]

[Loaded iaik/security/random/SeedGenerator.class from \java\https.jar]
[Loaded iaik/security/random/JDKSeedGenerator.class from
\java\https.jar]
[Loaded java/security/SeedGenerator.class from
C:\java\sunjre118\lib\rt.jar]
[Loaded java/lang/InternalError.class from C:\java\sunjre118\lib\rt.jar]
[Loaded java/security/NoSuchAlgorithmException.class from
C:\java\sunjre118\lib\
rt.jar]
[Loaded java/security/SeedGenerator$BogusThread.class from
C:\java\sunjre118\lib
\rt.jar]
[Loaded java/lang/IllegalArgumentException.class from
C:\java\sunjre118\lib\rt.j
ar]
[Loaded java/lang/IllegalThreadStateException.class from
C:\java\sunjre118\lib\r
t.jar]
========================

Can anyone at IAIK explain this? Am I actually doing the right thing to
init the Random?

Gil.

-- 
-----------------------------------------------------------------------
Gil Peeters
b.v.b.a CANCAS I.T.
-----------------------------------------------------------------------
--
Mailinglist-archive at http://jcewww.iaik.tu-graz.ac.at/mailarchive/iaik-jce/maillist.html

To unsubscribe send an email to listserv@iaik.tu-graz.ac.at with the folowing content: UNSUBSCRIBE iaik-jce