|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.flexiprovider.pqc.hbc.FIPS_186_2_PRNG
This class provides random number generation for CMSS.
| Constructor Summary | |
FIPS_186_2_PRNG()
|
|
| Method Summary | |
void |
initialize(MessageDigest md)
Initialize the RNG with the given message digest. |
byte[] |
nextSeed(byte[] outSeed)
Compute the next seed value, return a random byte array, and update the seed to the next value. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public FIPS_186_2_PRNG()
| Method Detail |
public void initialize(MessageDigest md)
initialize in interface PRNGmd - the message digest for constructing the random numberspublic byte[] nextSeed(byte[] outSeed)
nextSeed in interface PRNGoutSeed - byte array in which
(1 + inSeed + RAND) mod 2nn will
be stored
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||