Search for hash

  1. Search 7.x for hash
  2. Search 9.5.x for hash
  3. Search 10.3.x for hash
  4. Search 11.x for hash
  5. Other projects
Title Object type File name Summary
AccountPermissionsCacheContext::$permissionsHashGenerator property core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php The permissions hash generator.
ComposerIntegrationTest::getContentHash function core/tests/Drupal/Tests/ComposerIntegrationTest.php Returns the md5 hash of the sorted content of the composer file.
ComposerIntegrationTest::testComposerLockHash function core/tests/Drupal/Tests/ComposerIntegrationTest.php Tests composer.lock content-hash.
ConfirmClassyCopiesTest::getClassyHash function core/tests/Drupal/KernelTests/Core/Theme/ConfirmClassyCopiesTest.php Gets the hash of a Classy asset.
ConfirmClassyCopiesTest::testClassyHashes function core/tests/Drupal/KernelTests/Core/Theme/ConfirmClassyCopiesTest.php Tests Classy's assets have not been altered.
Crypt::hashBase64 function core/lib/Drupal/Component/Utility/Crypt.php Calculates a base-64 encoded, URL-safe sha-256 hash.
Crypt::hashEquals function core/lib/Drupal/Component/Utility/Crypt.php Compares strings in constant time.
CryptTest::providerTestHashBase64 function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Provides data for self::testHashBase64().
CryptTest::testHashBase64 function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Tests hash generation.
CryptTest::testHashEquals function core/tests/Drupal/Tests/Component/Utility/CryptTest.php Legacy test of Drupal\Component\Utility\Crypt::hashEquals() method.
CsrfTokenGeneratorTest::testGetWithNoHashSalt function core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php Tests the exception thrown when no 'hash_salt' is provided in settings.
CssCollectionOptimizer::generateHash function core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php Generate a hash for a given group of CSS assets.
DiffEngine::_line_hash function core/lib/Drupal/Component/Diff/Engine/DiffEngine.php Returns the whole line if it's small enough, or the MD5 hash otherwise.
EntityManager::hasHandler function core/lib/Drupal/Core/Entity/EntityManager.php
EntityManagerTest::testHasHandler function core/tests/Drupal/Tests/Core/Entity/EntityManagerTest.php @covers ::hasHandler[[api-linebreak]]
EntityType::hasHandlerClass function core/lib/Drupal/Core/Entity/EntityType.php Determines if there is a handler for a given type.
EntityTypeInterface::hasHandlerClass function core/lib/Drupal/Core/Entity/EntityTypeInterface.php Determines if there is a handler for a given type.
EntityTypeManager::hasHandler function core/lib/Drupal/Core/Entity/EntityTypeManager.php Checks whether a certain entity type has a certain handler.
EntityTypeManagerInterface::hasHandler function core/lib/Drupal/Core/Entity/EntityTypeManagerInterface.php Checks whether a certain entity type has a certain handler.
EntityTypeManagerTest::providerTestHasHandler function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Provides test data for testHasHandler().
EntityTypeManagerTest::testHasHandler function core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php Tests the hasHandler() method.
FakePhpassHashedPassword class core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php A fake class for tests.
FakePhpassHashedPassword::enforceLog2Boundaries function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Exposes this method as public for tests.
FakePhpassHashedPassword::__construct function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Constructs a new password hashing instance.
Feed::getHash function core/modules/aggregator/src/Entity/Feed.php Returns the calculated hash of the feed data, used for validating cache.
Feed::setHash function core/modules/aggregator/src/Entity/Feed.php Sets the calculated hash of the feed data, used for validating cache.
FeedInterface::getHash function core/modules/aggregator/src/FeedInterface.php Returns the calculated hash of the feed data, used for validating cache.
FeedInterface::setHash function core/modules/aggregator/src/FeedInterface.php Sets the calculated hash of the feed data, used for validating cache.
JsCollectionOptimizer::generateHash function core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php Generate a hash for a given group of JavaScript assets.
PasswordHashingTest class core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Unit tests for password hashing API.
PasswordHashingTest.php file core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Contains \Drupal\Tests\Core\Password\PasswordHashingTest.
PasswordHashingTest::$hashedPassword property core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php The hashed password.
PasswordHashingTest::$md5HashedPassword property core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php The md5 password.
PasswordHashingTest::$password property core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php The raw password.
PasswordHashingTest::$passwordHasher property core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php The password hasher under test.
PasswordHashingTest::$user property core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php The user for testing.
PasswordHashingTest::providerLongPasswords function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Provides the test matrix for testLongPassword().
PasswordHashingTest::setUp function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php
PasswordHashingTest::testLongPassword function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Verifies that passwords longer than 512 bytes are not hashed.
PasswordHashingTest::testPasswordHashing function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Test password hashing.
PasswordHashingTest::testPasswordNeedsUpdate function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Test a password needs update.
PasswordHashingTest::testPasswordRehashing function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Tests password rehashing.
PasswordHashingTest::testWithinBounds function core/tests/Drupal/Tests/Core/Password/PasswordHashingTest.php Tests the hash count boundaries are enforced.
PasswordInterface::hash function core/lib/Drupal/Core/Password/PasswordInterface.php Hash a password using a secure hash.
PasswordInterface::needsRehash function core/lib/Drupal/Core/Password/PasswordInterface.php Check whether a hashed password needs to be replaced with a new hash.
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::$cache property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The cache backend interface to use for the persistent cache.
PermissionsHashGenerator::$privateKey property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The private key service.
PermissionsHashGenerator::$static property core/lib/Drupal/Core/Session/PermissionsHashGenerator.php The cache backend interface to use for the static cache.

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