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


Ulm's Oberon Library:
MD5Names


NAME

MD5Names - create names that are derived from MD5 digests

SYNOPSIS

PROCEDURE Create(VAR name: ConstStrings.String; s: Streams.Stream);

DESCRIPTION

Create reads the entire stream s beginning from position 0, computes the MD5 digest for it (using MD5) and converts its printable representation (in hex) into a constant string that is stored into name. This is mainly useful to generate unique names (see Names) that reference text streams.

SEE ALSO

ConstStrings
representation of constant strings
MD5
implementation of the MD5 one-way hash function
Names
abstraction for name hierarchies

Edited by: borchert, last change: 2004/06/23, revision: 1.1, converted to HTML: 2004/06/23

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