de.flexiprovider.pqc.hbc.gmss
Class GMSSRandomBigInt

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

public class GMSSRandomBigInt
extends java.lang.Object

This class provides a PRNG for GMSS, using FlexiBigInts

Author:
Sebastian Blume, Michael Schneider

Constructor Summary
GMSSRandomBigInt(MessageDigest messDigestTree)
           
 
Method Summary
 byte[] nextSeed(byte[] outseed)
          computes the next value, returns a random byte array and sets outseed to the next value
 void setSeed(byte[] seed)
          sets seed as initial value
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMSSRandomBigInt

public GMSSRandomBigInt(MessageDigest messDigestTree)
Parameters:
messDigestTree -  
Method Detail

setSeed

public void setSeed(byte[] seed)
sets seed as initial value
Parameters:
seed - the seed to set as initial value

nextSeed

public byte[] nextSeed(byte[] outseed)
computes the next value, returns a random byte array and sets outseed to the next value
Parameters:
outseed - random byte array
Returns:
next random value