[Jsdsi-users] Sun KeyPairGeneratory
Status: Pre-Alpha
Brought to you by:
sajma
From: Sean R. <sra...@ae...> - 2004-03-08 14:19:05
|
Hi all, Anyone seen this before: (I've got my default KeyPairGenerator Provider to be sun.security.provider.Sun) All my KeyPairs being generated are the same (equal) ... Try this: KeyPair kp1 = jsdsi.RSAPublicKey.create("RSA"); KeyPair kp2 = jsdsi.RSAPublicKey.create("RSA"); System.out.println( kp1.getPublic().toString() ); System.out.println( kp2.getPublic().toString() ); (I've found that if I insert a call to initialise(KEY_SIZE) in the jsdsi.RSAKeyPair.create(..) all is cool) Any ideas? Sean -- Dr. Sean Radford, MBBS, MSc sra...@ae... http://www.aegeus-technology.com |