org.clazzes.optional.sec
Interface RandomGenerator

All Known Subinterfaces:
SeededRandomGenerator
All Known Implementing Classes:
DigestRandomGenerator, NativeRandomGenerator

public interface RandomGenerator

Generic interface for objects generating random bytes. Copied from bouncycastle.


Method Summary
 void nextBytes(byte[] bytes)
          Fill bytes with random values.
 

Method Detail

nextBytes

void nextBytes(byte[] bytes)
Fill bytes with random values.

Parameters:
bytes - byte array to be filled.


Copyright © 2010. All Rights Reserved.