Crypt::OpenSSL::Blowfish::CFB64 - Blowfish CFB64 Algorithm using OpenSSL
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);
Crypt::OpenSSL::Blowfish::CFB64 implements the Blowfish cipher algorithm in CFB mode, using function BF_cfb64_encrypt contained in the OpenSSL crypto library.
BF_cfb64_encrypt
http://www.openssl.org/, man BF_cfb64_encrypt
Mons Anderson, <mons@cpan.org>
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.
To install Crypt::OpenSSL::Blowfish::CFB64, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::OpenSSL::Blowfish::CFB64
CPAN shell
perl -MCPAN -e shell install Crypt::OpenSSL::Blowfish::CFB64
For more information on module installation, please visit the detailed CPAN module installation guide.