Initial import of Tie-EncryptedHash 1.21

Tie::EncryptedHash augments Perl hash semantics to build secure, encrypting
containers of data. Tie::EncryptedHash introduces special hash fields that
are coupled with encrypt/decrypt routines to encrypt assignments at STORE()
and decrypt retrievals at FETCH().
This commit is contained in:
sturm 2005-02-06 15:08:44 +00:00
parent 9ac7fc4b76
commit 19dc78aef4
4 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/02/06 15:08:44 sturm Exp $
COMMENT= "hashes with encrypting fields"
DISTNAME= Tie-EncryptedHash-1.21
PKGNAME= p5-${DISTNAME}
CATEGORIES= security perl5
MAINTAINER= Nikolay Sturm <sturm@openbsd.org>
# GPL/Artistic
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Tie/}
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::security/p5-Crypt-CBC
CONFIGURE_STYLE=perl
PKG_ARCH= *
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (Tie-EncryptedHash-1.21.tar.gz) = 5a85bd78c74ef52aeff6c70836f9d3bf
RMD160 (Tie-EncryptedHash-1.21.tar.gz) = e96c66cf51bcd16e64184485f9e7666f74bb8b28
SHA1 (Tie-EncryptedHash-1.21.tar.gz) = b7301d4116b04ca459f78a3ee2acb892c1046777
SIZE (Tie-EncryptedHash-1.21.tar.gz) = 10768

View File

@ -0,0 +1,18 @@
Tie::EncryptedHash augments Perl hash semantics to build secure, encrypting
containers of data. Tie::EncryptedHash introduces special hash fields that
are coupled with encrypt/decrypt routines to encrypt assignments at STORE()
and decrypt retrievals at FETCH(). By design, encrypting fields are
associated with keys that begin in single underscore. The remaining
keyspace is used for accessing normal hash fields, which are retained
without modification.
While the password is set, a Tie::EncryptedHash behaves exactly like a
standard Perl hash. This is its transparent mode of access. Encrypting
and normal fields are identical in this mode. When password is deleted,
encrypting fields are accessible only as ciphertext. This is
Tie::EncryptedHash's opaque mode of access, optimized for serialization.
Encryption is done with Crypt::CBC which encrypts in the cipher block
chaining mode with Blowfish, DES. Tie::EncryptedHash uses Blowfish
by default, but can be instructed to employ any cipher supported by
Crypt::CBC.

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/02/06 15:08:44 sturm Exp $
${P5SITE}/Tie/
${P5SITE}/Tie/EncryptedHash.pm
@man man/man3p/Tie::EncryptedHash.3p