|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
cryptix.math.RandomStream
cryptix.math.PseudoRandomStream
cryptix.security.CSRandomStream
A class that generates random bytes using a pseudo random number generator.
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.1 $
SecureRandom
Field Summary | |
protected SHA |
sha
Deprecated. |
Fields inherited from class cryptix.math.PseudoRandomStream |
buf, len, prng, ptr |
Constructor Summary | |
CSRandomStream(byte[] seed)
Deprecated. Creates a new Cryptographically Secure Random Stream from a seed. |
Method Summary | |
void |
add(byte[] entropy)
Deprecated. Add some entropy to the generator. |
protected void |
nextBuffer()
Deprecated. Sets the internal buffer, length and pointer field to a new set of random bits available for reading. |
protected void |
seed(byte[] seed)
Deprecated. Reset the seed and the PRNG. |
Methods inherited from class cryptix.math.PseudoRandomStream |
nextByte |
Methods inherited from class cryptix.math.RandomStream |
read, read, read, skip |
Methods inherited from class java.io.InputStream |
available, close, mark, markSupported, reset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SHA sha
Constructor Detail |
public CSRandomStream(byte[] seed)
Method Detail |
protected void nextBuffer()
nextBuffer
in class PseudoRandomStream
protected void seed(byte[] seed)
seed
in class PseudoRandomStream
public void add(byte[] entropy)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |