Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Crypt::OpenPGP::CFB(3)User Contributed Perl DocumentatioCrypt::OpenPGP::CFB(3)

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

SYNOPSIS
	   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 );

DESCRIPTION
       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.

AUTHOR & COPYRIGHTS
       Please see the Crypt::OpenPGP manpage for author, copyright, and
       license information.

perl v5.24.1			  2009-12-11		Crypt::OpenPGP::CFB(3)

NAME | SYNOPSIS | DESCRIPTION | AUTHOR & COPYRIGHTS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Crypt::OpenPGP::CFB&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help