Message-Id: <s4ba2015.021@mspeos0.corp.medtronic.com>
Date: Mon, 12 Jan 1998 13:51:59 -0600
From: Dan Ascheman <dan.ascheman@medtronic.com>
To: java-security@web2.javasoft.com
Subject: generating keys
Hi,
I am attempting to generate a public and private key, and my question is
- how long does it take JVM to generate a pair of keys using this code:
(I am using the DSA alogorithm with the standard Provider.class.)
(And I am using SecureRandom() for a random number)
Keypair myPair = keyGen.generateKeyPair();
it seems to take forever - it's like it gets stuck there - how do I know
it's doing anything?
I will gladly send all of my code (1 page) if that would help decipher a
problem - however, the code is pretty straight forward.
thanks,
Dan Ascheman