CoreFiles by mySites.guru
TripleDesCipher.php40 lines, 956 bytes, from Joomla_3.10.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha2
md5
505e31df32911e0403a609d8f81cac13
sha1
745ae76aad1bfa2bf0ec4f6fef331d16f07284f4
sha256
ef2724229dbc4fc2565d655da6ceed12afdb2cea1ca94ce09978661834167907
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2012 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Crypt\Cipher;

defined('JPATH_PLATFORM') or die;

/**
 * JCrypt cipher for Triple DES encryption, decryption and key generation.
 *
 * @since       3.0.0
 * @deprecated  4.0   Without replacement use CryptoCipher
 */
class TripleDesCipher extends McryptCipher
{
	/**
	 * @var    integer  The mcrypt cipher constant.
	 * @link   https://www.php.net/manual/en/mcrypt.ciphers.php
	 * @since  3.0.0
	 */
	protected $type = MCRYPT_3DES;

	/**
	 * @var    integer  The mcrypt block cipher mode.
	 * @link   https://www.php.net/manual/en/mcrypt.constants.php
	 * @since  3.0.0
	 */
	protected $mode = MCRYPT_MODE_CBC;

	/**
	 * @var    string  The Crypt key type for validation.
	 * @since  3.0.0
	 */
	protected $keyType = '3des';
}

The same content is in 2 releases, Joomla 3.10.0-alpha2 to 3.10.0-alpha3. See them all, or every version of this file.