Search for hash

  1. Search 7.x for hash
  2. Search 9.5.x for hash
  3. Search 8.9.x for hash
  4. Search 10.3.x for hash
  5. Other projects
Title Object type File name Summary
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.
PermissionsHashGenerator class core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Generates and caches the permissions hash for a user.
PermissionsHashGenerator.php file core/lib/Drupal/Core/Session/PermissionsHashGenerator.php
PermissionsHashGenerator::generate function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Generates a hash that uniquely identifies a user's permissions.
PermissionsHashGenerator::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Gets the cacheability metadata for the generated hash.
PermissionsHashGenerator::hash function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Hashes the given string.
PermissionsHashGenerator::__construct function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php Constructs a PermissionsHashGenerator object.
PermissionsHashGeneratorInterface interface core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Defines the user permissions hash generator interface.
PermissionsHashGeneratorInterface.php file core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php
PermissionsHashGeneratorInterface::generate function core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Generates a hash that uniquely identifies a user's permissions.
PermissionsHashGeneratorInterface::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Gets the cacheability metadata for the generated hash.
PermissionsHashGeneratorTest class core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php @coversDefaultClass \Drupal\Core\Session\PermissionsHashGenerator
@group Session
PermissionsHashGeneratorTest.php file core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
PermissionsHashGeneratorTest::$account1 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked user 1 account.
PermissionsHashGeneratorTest::$account2 property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked user 2 account.
PermissionsHashGeneratorTest::$permissionsHash property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The permission hash class being tested.
PermissionsHashGeneratorTest::$processor property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked access policy processor.
PermissionsHashGeneratorTest::$staticCache property core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php The mocked cache backend.
PermissionsHashGeneratorTest::setUp function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
PermissionsHashGeneratorTest::testGenerateAdmin function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests the generate method for admin users.
PermissionsHashGeneratorTest::testGenerateCache function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests the generate method's caching.
PermissionsHashGeneratorTest::testGenerateNoAccessPolicies function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests the generate method with no access policies.
PermissionsHashGeneratorTest::testGenerateRegular function core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php Tests the generate method for regular accounts.
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::$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 Check whether a plain text password matches a hashed password.
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::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 Hash a password using a secure hash.
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 Check whether a hashed password needs to be replaced with a new hash.
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
PhpBackend::getByHash function core/lib/Drupal/Core/Cache/PhpBackend.php Fetch a cache item using a hashed cache ID.
PhpBackend::invalidateByHash function core/lib/Drupal/Core/Cache/PhpBackend.php Invalidate one cache item.
PhpPassword::hash function core/lib/Drupal/Core/Password/PhpPassword.php Hash a password using a secure hash.
PhpPassword::needsRehash function core/lib/Drupal/Core/Password/PhpPassword.php Check whether a hashed password needs to be replaced with a new hash.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.