P5-crypt-xdbm_file

Jul 20, 2023

Perl module encrypt almost any kind of dbm file

CryptxDBM_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 CryptIDEA, CryptDES, CryptBlowfish, … 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.



Checkout these related ports:
  • Zzuf - Transparent application input fuzzer
  • Zlint - X.509 certificate linter
  • Zeronet - Decentralized websites using Bitcoin crypto and BitTorrent network
  • Zenmap - GUI frontend for the Nmap scanning utility
  • Zeek - System for detecting network intruders in real-time
  • Zaproxy - The OWASP zed attack proxy
  • Yubioath-desktop - GUI for displaying OATH codes with a Yubikey
  • Yubikey-personalization-gui - Graphical YubiKey personalization tool
  • Yubikey-manager-qt - Cross-platform application for configuring any YubiKey
  • Yubikey-agent - Seamless ssh-agent for YubiKeys
  • Yubico-piv-tool - Yubico PIV tool
  • Ylva - Command line password manager and file encryption program
  • Ykpers - Library and tool for personalization of Yubico's YubiKey
  • Ykclient - Yubico C client library
  • Yersinia - Layer 2 vulnerability scanner (switches, spanning tree, 802.1q ...)