1 <?php
2 /**
3 * @package Joomla.Platform
4 * @subpackage Crypt
5 *
6 * @copyright Copyright (C) 2005 - 2017 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 Rijndael 256 encryption, decryption and key generation.
14 *
15 * @since 12.1
16 * @deprecated 4.0 Without replacment use JCryptCipherCrypto
17 */
18 class JCryptCipherRijndael256 extends JCryptCipherMcrypt
19 {
20 /**
21 * @var integer The mcrypt cipher constant.
22 * @link https://secure.php.net/manual/en/mcrypt.ciphers.php
23 * @since 12.1
24 */
25 protected $type = MCRYPT_RIJNDAEL_256;
26
27 /**
28 * @var integer The mcrypt block cipher mode.
29 * @link https://secure.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 = 'rijndael256';
39 }
40