Class cryptix.math.RandomStream
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class cryptix.math.RandomStream

java.lang.Object
   |
   +----java.io.InputStream
           |
           +----cryptix.math.RandomStream

public class RandomStream
extends InputStream
Abstract class that generates random numbers.

Copyright (C) 1995, 1996 Systemics Ltd (http://www.systemics.com/) All rights reserved.


Constructor Index

 o RandomStream()

Method Index

 o nextByte()
 o read()
 o read(byte[])
 o read(byte[], int, int)
 o seed(byte[])
 o skip(long)

Constructors

 o RandomStream
  public RandomStream()

Methods

 o read
  public int read()
Overrides:
read in class InputStream
 o read
  public int read(byte b[])
Overrides:
read in class InputStream
 o read
  public int read(byte b[],
                  int off,
                  int len)
Overrides:
read in class InputStream
 o skip
  public long skip(long n)
Overrides:
skip in class InputStream
 o seed
  protected abstract void seed(byte seed[])
 o nextByte
  protected abstract byte nextByte()

All Packages  Class Hierarchy  This Package  Previous  Next  Index