This document accompanies trfcrypt 2.0p3, as
distributed at March 31, 2001
If you are interested in a version of Trfcrypt usable
with Tcl 7.6, please go and have a look at version 1.2, the
last one supporting that version of Tcl.
trfcrypt is an add-on package to the tcl-extension trf.
It provides the encryption functionality which was removed from
the base package to allow its inclusion on the Tcl/Tk CDROM without
violating US export control laws on cryptography.
This is the reference manual of trfcrypt. For instructions on how
to compile and install it see the installation manual.
The C API is layered on top of the trf C API and
provides a set of commands for the management, implementation and usage
of stream and blockciphers.
Although it is possible to implement ciphers using only the
trf C API the code in this package makes it much easier, as
general things like the handling of blockcipher modes are done here,
thus obviating the need to reimplement them every time. A new cipher
just has to provide some information about itself (key sizes) and
functions to
- generate the internal keyschedule from the specified key
- encrypt/decrypt a character or a block of data
|