An open API service indexing awesome lists of open source software.

https://github.com/mons/crypt-openssl-blowfish-cfb64

Blowfish CFB64 Algorithm using OpenSSL
https://github.com/mons/crypt-openssl-blowfish-cfb64

Last synced: 8 months ago
JSON representation

Blowfish CFB64 Algorithm using OpenSSL

Awesome Lists containing this project

README

          

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,

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.