BSD Ports

security/p5-Crypt-xDBM_File 1.02_1 DragonFly

Perl module encrypt almost any kind of dbm file

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
perl5, security
Package size
4.6 KiB, 7.6 KiB installed

Description

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).

In the other systems

SystemPortVersion
DragonFlysecurity/p5-Crypt-xDBM_File1.02_1
FreeBSDsecurity/p5-Crypt-xDBM_File1.02_1
HardenedBSDsecurity/p5-Crypt-xDBM_File1.02_1
GhostBSDsecurity/p5-Crypt-xDBM_File1.02_1

Install

Binary package:

pkg install p5-Crypt-xDBM_File

From DPorts:

cd /usr/dports/security/p5-Crypt-xDBM_File && make install clean

Dependencies

Run dependencies 2

No port depends on this one.