java.lang.Object
org.bouncycastle.pqc.legacy.crypto.gmss.util.GMSSRandom

public class GMSSRandom extends Object
This class provides a PRNG for GMSS
  • Constructor Details

    • GMSSRandom

      public GMSSRandom(Digest messDigestTree2)
      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)