|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.InputStream | +--cryptix.math.RandomStream | +--cryptix.math.PseudoRandomStream
A class that produces pseudo-random bytes.
Copyright © 1995-1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.1.1.1 $
Field Summary | |
protected byte[] |
buf
|
protected int |
len
|
protected PRSG |
prng
|
protected int |
ptr
|
Constructor Summary | |
PseudoRandomStream(byte[] seed)
seed must be 20 bytes or greater (any excess is not used). |
Method Summary | |
protected void |
nextBuffer()
|
protected byte |
nextByte()
|
protected void |
seed(byte[] seed)
|
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 |
|
Field Detail |
protected PRSG prng
protected byte[] buf
protected int ptr
protected int len
Constructor Detail |
public PseudoRandomStream(byte[] seed)
Method Detail |
protected void seed(byte[] seed)
seed
in class RandomStream
protected void nextBuffer()
protected final byte nextByte()
nextByte
in class RandomStream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |