public class ElGamalParametersGenerator extends Object
Constructor and Description |
---|
ElGamalParametersGenerator() |
Modifier and Type | Method and Description |
---|---|
ElGamalParameters |
generateParameters()
which generates the p and g values from the given parameters,
returning the ElGamalParameters object.
|
void |
init(int size,
int certainty,
SecureRandom random) |
public void init(int size, int certainty, SecureRandom random)
public ElGamalParameters generateParameters()
Note: can take a while...
Copyright © 2015. All rights reserved.