Date: Fri, 31 Oct 1997 16:18:42 -0800 (PST)
From: Jan Luehe <Jan.Luehe@Eng>
Subject: Re: Random values in DSA signature computation
To: java-security@web2.javasoft.com, burnettS@RSA.COM
Steve:
> I would like to know how the k value is computed. When I create a
> Signature object, I never pass in a random number generator, so does the
> Signature class (the SUN Provider version thereof) build a random number
> generator?
In addition to Gigi's explanation, here is something that will
make you happy.
We've added a new method to Signature.java in JDK1.2:
public final void initSign(PrivateKey privateKey, SecureRandom random)
This way, you can seed the rng yourself.
Jan