public class RSA extends Object
| Constructor and Description |
|---|
RSA() |
| Modifier and Type | Method and Description |
|---|---|
static RSAKey[] |
createNew()
Create a new RSAKey pair with a length of 400 bits and using the current
time as the random seed.
|
static RSAKey[] |
createNew(int bitlen,
long seed)
Create a new RSAKey pair.
|
public static RSAKey[] createNew()
public static RSAKey[] createNew(int bitlen, long seed)
bitlen - the number of bits for each key.seed - any random seed value.