Blowfish.php
Pure-PHP implementation of Blowfish.
Uses mcrypt, if available, and an internal implementation, otherwise.
PHP version 5
Useful resources are as follows:
Here's a short example of how to use this library:
setKey('12345678901234567890123456789012');
$plaintext = str_repeat('a', 1024);
echo $blowfish->decrypt($blowfish->encrypt($plaintext));
?>
Tags
Table of Contents
Classes
- Blowfish
- Pure-PHP implementation of Blowfish.