|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.flexiprovider.pqc.hbc.ots.PRNGWrapper
| Constructor Summary | |
PRNGWrapper(PRNG prng,
int length)
|
|
| Method Summary | |
int |
getLength()
|
void |
initialize(MessageDigest md)
Initialize the RNG with the given message digest. |
byte[] |
nextSeed(byte[] outSeed)
returns the next output cut to the desired byte-length |
void |
setLength(int length)
|
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public PRNGWrapper(PRNG prng,
int length)
| Method Detail |
public void initialize(MessageDigest md)
PRNGinitialize in interface PRNGde.flexiprovider.pqc.hbc.PRNGmd - the message digest for constructing the random numberspublic byte[] nextSeed(byte[] outSeed)
nextSeed in interface PRNGde.flexiprovider.pqc.hbc.PRNGoutSeed - byte array in which
(1 + inSeed + RAND) mod 2nn will
be storedpublic void setLength(int length)
public int getLength()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||