Oberon ||
Library ||
Module Index ||
Search Engine ||
Definition ||
Module
Ulm's Oberon Library:
StreamCiphers
NAME
StreamCiphers - abstraction for stream ciphers
SYNOPSIS
TYPE Cipher = POINTER TO CipherRec;
TYPE CipherRec = RECORD (Ciphers.CipherRec) END;
PROCEDURE Create (VAR key: Cipher; s: Streams.Stream);
DESCRIPTION
StreamCiphers supports the use of stream ciphers. Since the key of a
stream cipher can be viewed as a stream itself, only one procedure is
exported which interprets a stream as a cipher.
Create creates a cipher key out of a given stream s.
An initialisation of the cipher key is not necessary since all
stream ciphers operate the same way: one byte of the input is combined
with one byte of the key by a bitwise XOR and then sent to the output.
SEE ALSO
- AsymmetricCiphers
-
abstraction for the use of public key ciphers
- BlockCiphers
-
abstraction for the use of block ciphers
- Ciphers
-
abstraction for general ciphers and crypto systems
AUTHOR
Michael Szczuka, University of Ulm
Edited by: borchert, last change: 1995/11/14, revision: 1.1, converted to HTML: 1997/04/28
Oberon ||
Library ||
Module Index ||
Search Engine ||
Definition ||
Module