CoreFiles by mySites.guru
BlowfishCipher.php40 lines, 979 bytes, from Joomla_3.9.0-Stable-Full_Package.zip
Raw History Compare with 3.8.13
md5
2dcdd31a4e7ef99e2954fb5177c0b33d
sha1
000868da5d12c822cb4c55147887c698ebe01a0c
sha256
6de21c4fca650ad28089419000f2961cf141f22eb48a84f39c1eb1a6a590bdac
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Crypt\Cipher;

defined('JPATH_PLATFORM') or die;

/**
 * Crypt cipher for Blowfish encryption, decryption and key generation.
 *
 * @since       3.0.0
 * @deprecated  4.0   Without replacment use CryptoCipher
 */
class BlowfishCipher extends McryptCipher
{
	/**
	 * @var    integer  The mcrypt cipher constant.
	 * @link   https://secure.php.net/manual/en/mcrypt.ciphers.php
	 * @since  3.0.0
	 */
	protected $type = MCRYPT_BLOWFISH;

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

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

The same content is in 4 releases, Joomla 3.9.0-rc2 to 3.9.1. See them all, or every version of this file.