Search for hash
Title | Object type | File name | Summary |
---|---|---|---|
PasswordHashingTest::providerLongPasswords | function | core/ |
Provides the test matrix for testLongPassword(). |
PasswordHashingTest::setUp | function | core/ |
|
PasswordHashingTest::testLongPassword | function | core/ |
Verifies that passwords longer than 512 bytes are not hashed. |
PasswordHashingTest::testPasswordHashing | function | core/ |
Test password hashing. |
PasswordHashingTest::testPasswordNeedsUpdate | function | core/ |
Test a password needs update. |
PasswordHashingTest::testPasswordRehashing | function | core/ |
Tests password rehashing. |
PasswordHashingTest::testWithinBounds | function | core/ |
Tests the hash count boundaries are enforced. |
PasswordInterface::hash | function | core/ |
Hash a password using a secure hash. |
PasswordInterface::needsRehash | function | core/ |
Check whether a hashed password needs to be replaced with a new hash. |
PermissionsHashGenerator | class | core/ |
Generates and caches the permissions hash for a user. |
PermissionsHashGenerator.php | file | core/ |
|
PermissionsHashGenerator::$cache | property | core/ |
The cache backend interface to use for the persistent cache. |
PermissionsHashGenerator::$privateKey | property | core/ |
The private key service. |
PermissionsHashGenerator::$static | property | core/ |
The cache backend interface to use for the static cache. |
PermissionsHashGenerator::doGenerate | function | core/ |
Generates a hash that uniquely identifies the user's permissions. |
PermissionsHashGenerator::generate | function | core/ |
Cached by role, invalidated whenever permissions change. |
PermissionsHashGenerator::hash | function | core/ |
Hashes the given string. |
PermissionsHashGenerator::__construct | function | core/ |
Constructs a PermissionsHashGenerator object. |
PermissionsHashGeneratorInterface | interface | core/ |
Defines the user permissions hash generator interface. |
PermissionsHashGeneratorInterface.php | file | core/ |
|
PermissionsHashGeneratorInterface::generate | function | core/ |
Generates a hash that uniquely identifies a user's permissions. |
PermissionsHashGeneratorTest | class | core/ |
@coversDefaultClass \Drupal\Core\Session\PermissionsHashGenerator @group Session |
PermissionsHashGeneratorTest.php | file | core/ |
|
PermissionsHashGeneratorTest::$account1 | property | core/ |
The mocked super user account. |
PermissionsHashGeneratorTest::$account2 | property | core/ |
A mocked account. |
PermissionsHashGeneratorTest::$account2Updated | property | core/ |
An "updated" mocked account. |
PermissionsHashGeneratorTest::$account3 | property | core/ |
A different account. |
PermissionsHashGeneratorTest::$cache | property | core/ |
The mocked cache backend. |
PermissionsHashGeneratorTest::$permissionsHash | property | core/ |
The permission hash class being tested. |
PermissionsHashGeneratorTest::$privateKey | property | core/ |
The mocked private key service. |
PermissionsHashGeneratorTest::$staticCache | property | core/ |
The mocked cache backend. |
PermissionsHashGeneratorTest::setUp | function | core/ |
|
PermissionsHashGeneratorTest::testGenerate | function | core/ |
@covers ::generate |
PermissionsHashGeneratorTest::testGenerateNoCache | function | core/ |
Tests the generate method with no cache returned. |
PermissionsHashGeneratorTest::testGeneratePersistentCache | function | core/ |
@covers ::generate |
PermissionsHashGeneratorTest::testGenerateStaticCache | function | core/ |
@covers ::generate |
PhpassHashedPassword | class | core/ |
Secure password hashing functions based on the Portable PHP password hashing framework. |
PhpassHashedPassword.php | file | core/ |
|
PhpassHashedPassword::$countLog2 | property | core/ |
Specifies the number of times the hashing function will be applied when generating new password hashes. The number of times is calculated by raising 2 to the power of the given value. |
PhpassHashedPassword::$ITOA64 | property | core/ |
Returns a string for mapping an int to the corresponding base 64 character. |
PhpassHashedPassword::base64Encode | function | core/ |
Encodes bytes into printable base 64 using the *nix standard from crypt(). |
PhpassHashedPassword::check | function | core/ |
Check whether a plain text password matches a hashed password. |
PhpassHashedPassword::crypt | function | core/ |
Hash a password using a secure stretched hash. |
PhpassHashedPassword::enforceLog2Boundaries | function | core/ |
Ensures that $count_log2 is within set bounds. |
PhpassHashedPassword::generateSalt | function | core/ |
Generates a random base 64-encoded salt prefixed with hash settings. |
PhpassHashedPassword::getCountLog2 | function | core/ |
Parses the log2 iteration count from a stored hash or setting string. |
PhpassHashedPassword::hash | function | core/ |
Hash a password using a secure hash. |
PhpassHashedPassword::HASH_LENGTH | constant | core/ |
The expected (and maximum) number of characters in a hashed password. |
PhpassHashedPassword::MAX_HASH_COUNT | constant | core/ |
The maximum allowed log2 number of iterations for password stretching. |
PhpassHashedPassword::MIN_HASH_COUNT | constant | core/ |
The minimum allowed log2 number of iterations for password stretching. |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.