From: charlie@angeles.eng.sun.com (Charlie Lai)
Message-Id: <199903022305.PAA18001@angeles.eng.sun.com>
Subject: Re: [javakey] create DSA key pair
To: kucm@hong-kong.tt.slb.com (Johnny KU Chong Man)
Date: Tue, 2 Mar 1999 15:05:37 -0800 (PST)
In-Reply-To: <4.1.19990224105748.00928ed0@hong-kong.solutions.slb.com> from "Johnny, KU Chong Man" at Feb 24, 99 11:16:21 am
> With reference to your homepage about javakey,
> http://www.javasoft.com:81/security/usingJavakey.html, I follow the
> instruction step-by-step, and found that there is no observable response
> after I invoke "javakey -cs "duke" DSA 512 duke_pub duke_priv".
>
> For your information, the program javakey.exe is downloaded with jdk
> 1.1.7B (Windows version)
thanks, the SecureRandom implementation in 1.1.7 runs excruciatingly
slow on win95, although it runs fine on winNT and solaris.
the problem is due to the way win95 manages threads.
if you can upgrade to 1.1.8 when it comes out,
or to 1.2 (java 2), the problem is abated
(on win95 it still takes around 30 seconds).
if 30 seconds is still unacceptable, there are a couple of
alternatives. one is to use winNT or solaris.
the other alternative is to use Java 2 and implement your
own (presumably faster) SecureRandom implementation
which can be plugged in seamlessly.
see the Java 2 SecureRandom javadocs for more information.
thanks,
charlie