GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Crypt::OpenPGP::CFB(3) User Contributed Perl Documentation Crypt::OpenPGP::CFB(3)

Crypt::OpenPGP::CFB - PGP Cipher Feedback Mode

    use Crypt::OpenPGP::CFB;

    my $key = 'foo bar';
    my $cipher = Crypt::Blowfish->new( $key );   # for example
    my $cfb = Crypt::OpenPGP::CFB->new( $cipher );

    my $plaintext = 'this is secret!';
    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 13.9 (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.

Please see the Crypt::OpenPGP manpage for author, copyright, and license information.
2015-08-16 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.