Crypt::OpenPGP::CFBPGP Cipher Feedback Mode. | |
Download |
Crypt::OpenPGP::CFB Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Benjamin Trott
- Publisher web site:
- http://search.cpan.org/~btrott/
Crypt::OpenPGP::CFB Tags
Crypt::OpenPGP::CFB Description
PGP Cipher Feedback Mode. Crypt::OpenPGP::CFB is a PGP cipher feedback mode.SYNOPSIS use Crypt::OpenPGP::CFB; my $cipher = Crypt::Blowfish->new($key); ## for example my $cfb = Crypt::OpenPGP::CFB->new($cipher, $iv); my $ct = $cfb->encrypt($plaintext); my $pt = $cfb->decrypt($ct);Crypt::OpenPGP::CFB implements the variant of Cipher Feedback mode that PGP uses in its encryption and decryption. The key difference with PGP CFB is that the CFB state is resynchronized at each encryption/decryption. This applies both when encrypting secret key data and in symmetric encryption of standard encrypted data. More differences are described in the OpenPGP RFC, in section 12.8 (OpenPGP CFB mode).Typically you should never need to directly use Crypt::OpenPGP::CFB; Crypt::OpenPGP::Cipher objects wrap around an instance of this class and provide a uniform interface to symmetric ciphers. See the documentation for that module for usage details. Requirements: · Perl
Crypt::OpenPGP::CFB Related Software