Class GMSSRandom
java.lang.Object
org.bouncycastle.pqc.legacy.crypto.gmss.util.GMSSRandom
This class provides a PRNG for GMSS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
nextSeed
(byte[] outseed) computes the next seed value, returns a random byte array and sets outseed to the next value
-
Constructor Details
-
GMSSRandom
Constructor- Parameters:
messDigestTree2
-
-
-
Method Details
-
nextSeed
public byte[] nextSeed(byte[] outseed) computes the next seed value, returns a random byte array and sets outseed to the next value- Parameters:
outseed
- byte array in which ((1 + SEEDin +RAND) mod 2^n) will be stored- Returns:
- byte array of H(SEEDin)
-