Source for file Decrypt.class.php
Documentation is available at Decrypt.class.php
* Gumbo Library Framework
* This library is being released under the terms of the New BSD License. A
* copy of the license is packaged with the software (LICENSE.txt). If no
* copy is found, a copy of the license template can be found at:
* http://www.opensource.org/licenses/bsd-license.php
* @copyright Copyright (c) 2007, iBayou, Michael Luster
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @author Michael Luster <mluster79@yahoo.com>
* @link http://sourceforge.net/projects/phpgumbo
* @copyright Copyright (c) 2007, iBayou, Michael Luster
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @author Michael Luster <mluster79@yahoo.com>
* @link http://sourceforge.net/projects/phpgumbo
gumbo_load ("Encryption");
public function __construct ($data=
null, $key=
null, $cipher=
null, $mode=
null, $encode=
null) {
* Parses the data by decryption
* @throws Gumbo_Exception
public function parse () {
for ($x =
0;$x <
strlen ($data);$x +=
2) {
for ($x =
0;$x <
$iv_size;$x++
) { $iv .=
"a"; }
$e->setFunction (__METHOD__
);