1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/security/p5-Crypt-HCE_SHA/pkg-descr
Anton Berezin bf2ee8507b Add p5-Crypt-HCE_SHA 0.60, perl5 interface to one way hash chaining
block cipher.

PR:		31152
Submitted by:	Gregory Neil Shapiro <gshapiro@FreeBSD.org>
2001-10-10 01:02:07 +00:00

17 lines
742 B
Plaintext

This module implements a chaining block cipher using a one
way hash. This method of encryption is the same that is
used by radius (RFC2138) and is also described in Applied
Cryptography.
Two interfaces are provided in the module. The first is
straight block encryption/decryption the second does base64
mime encoding/decoding of the encrypted/decrypted blocks.
The idea is the the two sides have a shared secret that
supplies one of the keys and a randomly generated block of
bytes provides the second key. The random key is passed in
cleartext between the two sides.
An example client and server are packaged as modules with
this module. They are used in the tests.