Source for file blowfish.php

Documentation is available at blowfish.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Platform
  4.  * @subpackage  Crypt
  5.  *
  6.  * @copyright   Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
  7.  * @license     GNU General Public License version 2 or later; see LICENSE
  8.  */
  9.  
  10. defined('JPATH_PLATFORM'or die;
  11.  
  12. /**
  13.  * JCrypt cipher for Blowfish encryption, decryption and key generation.
  14.  *
  15.  * @package     Joomla.Platform
  16.  * @subpackage  Crypt
  17.  * @since       12.1
  18.  */
  19. {
  20.     /**
  21.      * @var    integer  The mcrypt cipher constant.
  22.      * @see    http://www.php.net/manual/en/mcrypt.ciphers.php
  23.      * @since  12.1
  24.      */
  25.     protected $type = MCRYPT_BLOWFISH;
  26.  
  27.     /**
  28.      * @var    integer  The mcrypt block cipher mode.
  29.      * @see    http://www.php.net/manual/en/mcrypt.constants.php
  30.      * @since  12.1
  31.      */
  32.     protected $mode = MCRYPT_MODE_CBC;
  33.  
  34.     /**
  35.      * @var    string  The JCrypt key type for validation.
  36.      * @since  12.1
  37.      */
  38.     protected $keyType = 'blowfish';
  39. }

Documentation generated on Tue, 19 Nov 2013 14:54:41 +0100 by phpDocumentor 1.4.3