de.flexiprovider.pqc.hbc.gmss
Class GMSSRandom

java.lang.Object
  |
  +--de.flexiprovider.pqc.hbc.gmss.GMSSRandom

public class GMSSRandom
extends java.lang.Object

This class provides a PRNG for GMSS

Author:
Sebastian Blume, Michael Schneider

Constructor Summary
GMSSRandom(MessageDigest messDigestTree)
          Constructor
 
Method Summary
 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(MessageDigest messDigestTree)
Constructor
Parameters:
messDigestTree -  
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)