Joomla Platform  13.1
Documentation des API du framework Joomla Platform
 Tout Classes Espaces de nommage Fichiers Fonctions Variables Pages
blowfish.php
Aller à la documentation de ce fichier.
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  */
20 {
21  /**
22  * @var integer The mcrypt cipher constant.
23  * @see http://www.php.net/manual/en/mcrypt.ciphers.php
24  * @since 12.1
25  */
26  protected $type = MCRYPT_BLOWFISH;
27 
28  /**
29  * @var integer The mcrypt block cipher mode.
30  * @see http://www.php.net/manual/en/mcrypt.constants.php
31  * @since 12.1
32  */
33  protected $mode = MCRYPT_MODE_CBC;
34 
35  /**
36  * @var string The JCrypt key type for validation.
37  * @since 12.1
38  */
39  protected $keyType = 'blowfish';
40 }