org.clazzes.optional.sec
Interface SeededRandomGenerator

All Superinterfaces:
RandomGenerator
All Known Implementing Classes:
DigestRandomGenerator

public interface SeededRandomGenerator
extends RandomGenerator

Random generator, which needs seeding fromwithin the application. Copied from bouncycastle.


Method Summary
 void addSeedMaterial(byte[] seed)
          Add more seed material to the generator.
 void addSeedMaterial(long seed)
          Add more seed material to the generator.
 
Methods inherited from interface org.clazzes.optional.sec.RandomGenerator
nextBytes
 

Method Detail

addSeedMaterial

void addSeedMaterial(byte[] seed)
Add more seed material to the generator.

Parameters:
seed - a byte array to be mixed into the generator's state.

addSeedMaterial

void addSeedMaterial(long seed)
Add more seed material to the generator.

Parameters:
seed - a long value to be mixed into the generator's state.


Copyright © 2010. All Rights Reserved.