PasswordTest::providerTestValueCallback |
function |
core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php |
Data provider for testValueCallback(). |
PasswordTest::testValueCallback |
function |
core/tests/Drupal/Tests/Core/Render/Element/PasswordTest.php |
@covers ::valueCallback |
PasswordVerifyTest |
class |
core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php |
Unit tests for password hashing API. |
PasswordVerifyTest.php |
file |
core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php |
|
PasswordVerifyTest::providerLongPasswords |
function |
core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php |
Provides the test matrix for testLongPassword(). |
PasswordVerifyTest::testLongPassword |
function |
core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php |
Verifies that passwords longer than 512 bytes are not hashed. |
PasswordVerifyTest::testPasswordCheckSupported |
function |
core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php |
Tests that check() verifies passwords if hash settings are supported. |
PasswordVerifyTest::testPasswordCheckUnknownHash |
function |
core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php |
Tests that check() is forwarded to corePassword instance if hash settings are not recognized. |
PasswordVerifyTest::testPasswordHash |
function |
core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php |
Tests that hash() is forwarded to corePassword instance. |
PasswordVerifyTest::testPasswordNeedsRehash |
function |
core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php |
Tests that needsRehash() is forwarded to corePassword instance. |
PasswordVerifyTest::testWithinBounds |
function |
core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php |
Tests the hash count boundaries are enforced. |
password_generator |
service |
core/core.services.yml |
Drupal\Core\Password\DefaultPasswordGenerator |
phpass.password |
service |
core/modules/phpass/phpass.services.yml |
Drupal\phpass\Password\PhpassHashedPassword |
PhpassHashedPassword |
class |
core/modules/phpass/src/Password/PhpassHashedPassword.php |
Legacy password hashing framework. |
PhpassHashedPassword |
class |
core/lib/Drupal/Core/Password/PhpassHashedPassword.php |
Deprecated legacy password hashing framework. |
PhpassHashedPassword.php |
file |
core/modules/phpass/src/Password/PhpassHashedPassword.php |
|
PhpassHashedPassword.php |
file |
core/lib/Drupal/Core/Password/PhpassHashedPassword.php |
|
PhpassHashedPasswordBase |
class |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
Legacy password hashing framework. |
PhpassHashedPasswordBase.php |
file |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
|
PhpassHashedPasswordBase::$corePassword |
property |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
The core PHP password interface. |
PhpassHashedPasswordBase::$countLog2 |
property |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
Password stretching iteration count. |
PhpassHashedPasswordBase::$ITOA64 |
property |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
|
PhpassHashedPasswordBase::base64Encode |
function |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
Encodes bytes into printable base 64 using the *nix standard from crypt(). |
PhpassHashedPasswordBase::check |
function |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
|
PhpassHashedPasswordBase::crypt |
function |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
Hash a password using a secure stretched hash. |
PhpassHashedPasswordBase::enforceLog2Boundaries |
function |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
Ensures that $count_log2 is within set bounds. |
PhpassHashedPasswordBase::generateSalt |
function |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
Generates a random base 64-encoded salt prefixed with hash settings. |
PhpassHashedPasswordBase::getCountLog2 |
function |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
Parses the log2 iteration count from a stored hash or setting string. |
PhpassHashedPasswordBase::hash |
function |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
|
PhpassHashedPasswordBase::HASH_LENGTH |
constant |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
The expected (and maximum) number of characters in a hashed password. |
PhpassHashedPasswordBase::MAX_HASH_COUNT |
constant |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
The maximum allowed log2 number of iterations for password stretching. |
PhpassHashedPasswordBase::MIN_HASH_COUNT |
constant |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
The minimum allowed log2 number of iterations for password stretching. |
PhpassHashedPasswordBase::needsRehash |
function |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
|
PhpassHashedPasswordBase::__construct |
function |
core/lib/Drupal/Core/Password/PhpassHashedPasswordBase.php |
Constructs a new password hashing instance. |
PhpassHashedPasswordLog2BoundariesDouble |
class |
core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php |
Test double for test coverage of enforceLog2Boundaries(). |
PhpassHashedPasswordLog2BoundariesDouble::enforceLog2Boundaries |
function |
core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php |
Exposes this method as public for tests. |
PhpassHashedPasswordLog2BoundariesDouble::__construct |
function |
core/modules/phpass/tests/src/Unit/PasswordVerifyTest.php |
|
PhpPassword |
class |
core/lib/Drupal/Core/Password/PhpPassword.php |
Secure PHP password hashing functions. |
PhpPassword.php |
file |
core/lib/Drupal/Core/Password/PhpPassword.php |
|
PhpPassword::check |
function |
core/lib/Drupal/Core/Password/PhpPassword.php |
|
PhpPassword::hash |
function |
core/lib/Drupal/Core/Password/PhpPassword.php |
|
PhpPassword::needsRehash |
function |
core/lib/Drupal/Core/Password/PhpPassword.php |
|
PhpPassword::__construct |
function |
core/lib/Drupal/Core/Password/PhpPassword.php |
Constructs a new password hashing instance. |
PhpPasswordTest |
class |
core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php |
Unit tests for password hashing API. |
PhpPasswordTest.php |
file |
core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php |
|
PhpPasswordTest::$password |
property |
core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php |
The raw password. |
PhpPasswordTest::$passwordHash |
property |
core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php |
The hashed password. |
PhpPasswordTest::$passwordHasher |
property |
core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php |
The password hasher under test. |
PhpPasswordTest::providerLongPasswords |
function |
core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php |
Provides the test matrix for testLongPassword(). |
PhpPasswordTest::setUp |
function |
core/tests/Drupal/Tests/Core/Password/PhpPasswordTest.php |
|