GeForce Manager
PHP Advanced
C:
/
xampp
/
htdocs
/
Ajaji
/
libraries
/
src
/
Authentication
/
Password
/
Name
Size
Perms
Actions
📄
Argon2idHandler.php
951 B
0666
Edit
Perms
Delete
📄
BCryptHandler.php
939 B
0666
Edit
Perms
Delete
📄
ChainedHandler.php
2843 B
0666
Edit
Perms
Delete
📄
PHPassHandler.php
2327 B
0666
Edit
Perms
Delete
Editing:
BCryptHandler.php
<?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('JPATH_PLATFORM') 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); } }
Cancel