The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Crypt::OpenSSL::Blowfish::CFB64 - Blowfish CFB64 Algorithm using OpenSSL

SYNOPSIS

  use Crypt::OpenSSL::Blowfish::CFB64;
  
  my $crypt = Crypt::OpenSSL::Blowfish::CFB64->new($key);
  # or
  my $crypt = Crypt::OpenSSL::Blowfish::CFB64->new($key, $ivec = pack( C8 => 1,2,3,4,5,6,7,8 ));
  
  my $binary_data = $crypt->encrypt("source");
  my $hex_data = $crypt->encrypt_hex("source");

  my $source = $crypt->decrypt($binary_data);
  my $source = $crypt->decrypt_hex($hex_data);

DESCRIPTION

Crypt::OpenSSL::Blowfish::CFB64 implements the Blowfish cipher algorithm in CFB mode, using function BF_cfb64_encrypt contained in the OpenSSL crypto library.

SEE ALSO

http://www.openssl.org/, man BF_cfb64_encrypt

AUTHOR

Mons Anderson, <mons@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2012 by Mons Anderson

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.