freebsd-ports/security/p5-Crypt-xDBM_File/pkg-descr
Doug Barton 989772c9ac The vast majority of pkg-descr files had the following format when they
had both lines:

Author: ...
WWW: ....

So standardize on that, and move them to the end of the file when necessary.

Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.

s/AUTHOR/Author/

A few other various formatting issues
2011-10-24 09:11:38 +00:00

17 lines
949 B
Text

Crypt::xDBM_File encrypts/decrypts the data in a gdbm,ndbm,sdbm (and
maybe even berkeleyDB, but I didn't test that) file. It gets tied to a
hash and you just access the hash like normal. The crypt function can
be any of the CPAN modules that use encrypt, decrypt, keysize, blocksize
(so Crypt::IDEA, Crypt::DES, Crypt::Blowfish, ... should all work)
***IMPORTANT*** Encryption keys (the key you pass in on the tie line)
will be padded or truncated to fit the keysize(). Data (the key/values of
the hash) is padded to fill complete blocks of blocksize().
The padding is stripped before being returned to the user so you shouldn't
need to worry about it (except truncated keys). Read the doc that comes
with crypt function to get an idea of what these sizes are. If keysize
or blocksize returns a zero the default is set to 8 bytes (64 bits).
Author: Eric Estabrooks <eric@urbanrage.com>
WWW: http://search.cpan.org/dist/Crypt-xDBM_File/