Search for hash

  1. Search 7.x for hash
  2. Search 8.9.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.
ContainerInterface::generateServiceIdHash function core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php Generate a unique hash for a service object.
Crypt::hashBase64 function core/lib/Drupal/Component/Utility/Crypt.php Calculates a base-64 encoded, URL-safe sha-256 hash.
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.
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 a hash otherwise.
DrupalKernel::generateServiceIdHash function core/lib/Drupal/Core/DrupalKernel.php Generate a unique hash for a service object.
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.
FieldTranslationSynchronizer::itemHash function core/modules/content_translation/src/FieldTranslationSynchronizer.php Computes a hash code for the specified item.
HelpPageTestController::hasHelp function core/modules/help/tests/modules/help_page_test/src/HelpPageTestController.php Provides a route with help.
IFrameUrlHelper::getHash function core/modules/media/src/IFrameUrlHelper.php Hashes an oEmbed resource URL.
ImageStyle::getHashSalt function core/modules/image/src/Entity/ImageStyle.php Gets a salt useful for hardening against SQL injection.
JsCollectionOptimizer::generateHash function core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php Generate a hash for a given group of JavaScript assets.
JsonApiDocumentTopLevelNormalizer::getLinkHash function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Hashes an omitted link.
LinkCollectionNormalizer::$hashSalt property core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php A random string to use when hashing links.
LinkCollectionNormalizer::hashByHref function core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php Hashes a link using its href and its target attributes, if any.
MediaLibraryState::getHash function core/modules/media_library/src/MediaLibraryState.php Get the hash for the state object.
MediaLibraryState::isValidHash function core/modules/media_library/src/MediaLibraryState.php Validate a hash for the state object.
MediaLibraryStateTest::testHashUnaffectedByMediaTypeOrder function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Tests that hash is unaffected by allowed media type order.
MediaLibraryStateTest::testHashUnaffectedByOpenerParamOrder function core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php Tests that hash is unaffected by opener parameter order.
OEmbedIframeControllerTest::providerBadHashParameter function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Data provider for testBadHashParameter().
OEmbedIframeControllerTest::testBadHashParameter function core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php Tests validation of the 'hash' query string parameter.
password-hash.sh file core/scripts/password-hash.sh Drupal hash script - to generate a hash from a plaintext password
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

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