__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Joomla! Content Management System
*
* @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\Authentication\Password;
use Joomla\Authentication\Password\BCryptHandler as BaseBCryptHandler;
// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects
/**
* Password handler for BCrypt hashed passwords
*
* @since 4.0.0
*/
class BCryptHandler extends BaseBCryptHandler implements CheckIfRehashNeededHandlerInterface
{
/**
* Check if the password requires rehashing
*
* @param string $hash The password hash to check
*
* @return boolean
*
* @since 4.0.0
*/
public function checkIfRehashNeeded(string $hash): bool
{
return password_needs_rehash($hash, PASSWORD_BCRYPT);
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Argon2iHandler.php | File | 937 B | 0664 |
|
| Argon2idHandler.php | File | 943 B | 0664 |
|
| BCryptHandler.php | File | 931 B | 0664 |
|
| ChainedHandler.php | File | 2.77 KB | 0664 |
|
| CheckIfRehashNeededHandlerInterface.php | File | 786 B | 0664 |
|
| MD5Handler.php | File | 2.45 KB | 0664 |
|
| PHPassHandler.php | File | 2.26 KB | 0664 |
|