PHP Mcrypt Extension for Blowfish
Tutorial notes and example codes on PHP Mcrypt Extension. Topics include introduction of PHP Mcrypt Extension; Running Blowfish a block cipher (ECB mode); Running Blowfish in block chaining cipher (CBC, CFB and OFB modes).
What is PHP Mcrypt Extension
PHP Mcrypt Blowfish Block Cipher
Mycrypt Blowfish Block Chaining Cipher
"ncfb/nofb" for Block Chaining Ciphers
Performing CFB Operation Manually
php_blowfish.php - PHP Blowfish Demo
- PHP Mcrypt Extension is a built-in PHP extension that
allows to access the mcrypt library, which supports
Blowfish and a number of other block encryption algorithms.
- Calling the mcrypt_encrypt(MCRYPT_BLOWFISH,...) function
is the quickest way to perform a Blowfish encryption).
But this function is DEPRECATED as of PHP 7.1.0.
You may want to switch to use the OpenSSL extension.
performs the standard block chaining cipher
CBC, CFB or OFB operation mode.
performs the CFB-8 or OFB-8 cipher operation mode.
Table of Contents
About This Book
Blowfish Cipher Algorithm
Perl Crypt::Blowfish Module
Perl Crypt::ECB Perl Module
Perl Crypt::CBC Module
Perl Crypt::CFB Perl Module
OpenSSL "enc -bf-ecb" for Blowfish/ECB Encryption
OpenSSL "enc -bf-cbc" for Blowfish/CBC Encryption
OpenSSL "enc -bf-cfb" for Blowfish/CFB Encryption
OpenSSL "enc -bf-ofb" for Blowfish/OFB Encryption
►PHP Mcrypt Extension for Blowfish
Blowfish 8-Bit Cipher in PHP
Full Version in PDF/EPUB