Oberon || Library || Module Index || Search Engine || Definition || Module


Ulm's Oberon Library:
SeedStreams


NAME

SeedStreams - representation of streams as seed sequences

SYNOPSIS

PROCEDURE Create(VAR sequence: RandomGenerators.Sequence;
                 seeds: Streams.Stream);

DESCRIPTION

SeedStreams allows a stream to be represented as a sequence of seed values. This implementation is mainly useful to access random devices like /dev/random through the operations of RandomGenerators. As good seed values are a limited source, other random generators like SurfRandomGenerators should be used for stretching.

Create creates a sequence that takes all its values from seeds. In case of end of input or errors, zeroes are returned.

SEE ALSO

RandomGenerators
abstraction for sequences of random numbers or seeds
SurfRandomGenerators
good candidate for stretching seed values

Edited by: borchert, last change: 2004/03/08, revision: 1.1, converted to HTML: 2004/03/08

Oberon || Library || Module Index || Search Engine || Definition || Module