info > Crypt::Mode::CFB

📚 NAME

Crypt::Mode::CFB - Block cipher mode CFB [Cipher feedback]

🚀 Quick Reference

Use CaseCommandDescription
Encrypt at once$m->encrypt($plaintext, $key, $iv)Encrypt entire plaintext in one call
Decrypt at once$m->decrypt($ciphertext, $key, $iv)Decrypt entire ciphertext in one call
Encrypt in chunks$m->start_encrypt($key, $iv); $m->add('data');Incremental encryption
Decrypt in chunks$m->start_decrypt($key, $iv); $m->add($cipher);Incremental decryption
Create mode objectCrypt::Mode::CFB->new('AES')Initialize with cipher name

📖 SYNOPSIS

use Crypt::Mode::CFB;
my $m = Crypt::Mode::CFB->new('AES');

#(en|de)crypt at once
my $ciphertext = $m->encrypt($plaintext, $key, $iv);
my $plaintext = $m->decrypt($ciphertext, $key, $iv);

#encrypt more chunks
$m->start_encrypt($key, $iv);
my $ciphertext = $m->add('some data');
$ciphertext .= $m->add('more data');

#decrypt more chunks
$m->start_decrypt($key, $iv);
my $plaintext = $m->add($some_ciphertext);
$plaintext .= $m->add($more_ciphertext);

📝 DESCRIPTION

This module implements CFB cipher mode. NOTE: it works only with ciphers from CryptX (Crypt::Cipher::NNNN).

🔧 METHODS

📚 SEE ALSO

perl v5.34.0 2022-02-06 Crypt::Mode::CFB(3pm)

Crypt::Mode::CFB
📚 NAME 🚀 Quick Reference 📖 SYNOPSIS 📝 DESCRIPTION 🔧 METHODS 📚 SEE ALSO

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-24 01:12 @216.73.216.102
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!