public class NTRUSignerPrng
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
counter |
private Digest |
hashAlg |
private byte[] |
seed |
Constructor and Description |
---|
NTRUSignerPrng(byte[] seed,
Digest hashAlg)
Constructs a new PRNG and seeds it with a byte array.
|
Modifier and Type | Method and Description |
---|---|
(package private) byte[] |
nextBytes(int n)
Returns
n random bytes |