Class GMSSRandom


  • public class GMSSRandom
    extends java.lang.Object
    This class provides a PRNG for GMSS
    • Constructor Summary

      Constructors 
      Constructor Description
      GMSSRandom​(Digest messDigestTree2)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] nextSeed​(byte[] outseed)
      computes the next seed value, returns a random byte array and sets outseed to the next value
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GMSSRandom

        public GMSSRandom​(Digest messDigestTree2)
        Constructor
        Parameters:
        messDigestTree2 -
    • Method Detail

      • 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)