Crypt::OpenPGP::MDCMDC (modification detection code) packet. | |
Download |
Crypt::OpenPGP::MDC Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Benjamin Trott
- Publisher web site:
- http://search.cpan.org/~btrott/
Crypt::OpenPGP::MDC Tags
Crypt::OpenPGP::MDC Description
MDC (modification detection code) packet. Crypt::OpenPGP::MDC is a MDC (modification detection code) packet.SYNOPSIS use Crypt::OpenPGP::MDC; my $mdc = Crypt::OpenPGP::MDC->new( Data => 'foobar' ); my $digest = $mdc->digest; my $serialized = $mdc->save; my $mdc = Crypt::OpenPGP::MDC->parse($buffer); my $digest = $mdc->digest;Crypt::OpenPGP::MDC is a PGP MDC (modification detection code) packet. Such a packet is used alongside Encrypted-MDC data packets so that modifications to the ciphertext can be detected. The MDC packet contains a SHA-1 digest of the plaintext for comparison with the decrypted plaintext.You generally will never need to construct a Crypt::OpenPGP::MDC packet yourself; usage is by the Crypt::OpenPGP::Ciphertext object. Requirements: · Perl
Crypt::OpenPGP::MDC Related Software