public class GOST3410ParametersGenerator extends Object
Constructor and Description |
---|
GOST3410ParametersGenerator() |
Modifier and Type | Method and Description |
---|---|
GOST3410Parameters |
generateParameters()
which generates the p , q and a values from the given parameters,
returning the GOST3410Parameters object.
|
void |
init(int size,
int typeproc,
SecureRandom random)
initialise the key generator.
|
public void init(int size, int typeproc, SecureRandom random)
size
- size of the keytypeproc
- type procedure A,B = 1; A',B' - elserandom
- random byte source.public GOST3410Parameters generateParameters()
Copyright © 2015. All rights reserved.