Crypt::OpenPGP::Compressed 1.03

Compressed data packets.

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
Perl Artistic License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Benjamin Trott
HOMEPAGE:
search.cpan.org
CATEGORY:
ROOT \ System \ Benchmarks
Crypt::OpenPGP::Compressed is a Perl module with compressed data packets.

SYNOPSIS

 use Crypt::OpenPGP::Compressed;

 my $cdata = Crypt::OpenPGP::Compressed->new( Data => $data );
 my $serialized = $cdata->save;

 my $cdata = Crypt::OpenPGP::Compressed->parse($buffer);
 my $data = $cdata->decompress;


Crypt::OpenPGP::Compressed implements compressed data packets, providing both compression and decompression functionality, for all supported compression algorithms (Zlib and ZIP). This class uses Compress::Zlib for all compression/decompression needs for both algorithms: ZIP is simply Zlib with a different setting for the WindowBits parameter.

Decompressing a compressed data packet should always yield a stream of valid PGP packets (which you can then parse using Crypt::OpenPGP::PacketFactory). Similarly, when compressing a packet the input data should be a stream of packets.

Last updated on September 8th, 2008

requirements

#compressed data #Perl module #OpenPGP #compressed #data #Perl

Add your review!

SUBMIT