Crypt::OpenPGP::Cipher is a PGP symmetric cipher factory.
SYNOPSIS
use Crypt::OpenPGP::Cipher;
my $cipher = Crypt::OpenPGP::Cipher->new($name);
my $ct = $cipher->encrypt($plaintext);
my $pt = $cipher->decrypt($ct);
Crypt::OpenPGP::Cipher is a factory class for PGP symmetric ciphers. All cipher objects are subclasses of this class and share a common interface; when creating a new cipher object, the object is blessed into the subclass to take on algorithm-specific functionality.
A Crypt::OpenPGP::Cipher object is a wrapper around a Crypt::OpenPGP::CFB object, which in turn wraps around the actual cipher implementation (eg. Crypt::Blowfish for a Blowfish cipher). This allows all ciphers to share a common interface and a simple instantiation method.
Product's homepage
Requirements:
· Perl