Class java.crypt.CSRandomStream
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.crypt.CSRandomStream

java.math.RandomStream
   |
   +----java.math.PsudeoRandomStream
           |
           +----java.crypt.CSRandomStream

public class CSRandomStream
extends PsudeoRandomStream
class that generates random bytes using a psudeo random number generator.

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


Constructor Index

 o CSRandomStream(byte[])
creates a new Cryptographicly Secure Random Stream from a seed.

Method Index

 o nextBuffer()
Sets the internal buffer, length and pointer field to a new set of random bits available for reading

Constructors

 o CSRandomStream
  public CSRandomStream(byte seed0[])
creates a new Cryptographicly Secure Random Stream from a seed. the security of this generator is based on the security of the seed.

Methods

 o nextBuffer
  protected void nextBuffer()
Sets the internal buffer, length and pointer field to a new set of random bits available for reading
Overrides:
nextBuffer in class PsudeoRandomStream

All Packages  Class Hierarchy  This Package  Previous  Next  Index