Crypt::CFB

Encrypt Data in Cipher Feedback Mode
Download

Crypt::CFB Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Matthias Bauer
  • Publisher web site:
  • http://search.cpan.org/~bauerm/

Crypt::CFB Tags


Crypt::CFB Description

Encrypt Data in Cipher Feedback Mode Crypt::CFB is a Perl module that provides generic CFB implementation in pure Perl. The Cipher Feedback Mode module constructs a stream cipher from a block cipher or cryptographic hash funtion and returns it as an object. Any block cipher in the Crypt:: class can be used, as long as it supports the blocksize and keysize methods. Any hash function in the Digest:: class can be used, as long as it supports the add method.SYNOPSIS use Crypt::CFB; my $cipher = new Crypt::CFB $key, 'Crypt::Rijndael'; my $ciphertext = $cipher->encrypt($plaintext); my $plaintext = $cipher->decrypt($ciphertext); my $cipher2 = new Crypt::CFB $key, 'Digest::MD5'; $ciphertext = $cipher->encrypt($plaintext); $plaintext = $cipher->decrypt($ciphertext); Requirements: · Perl


Crypt::CFB Related Software