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
AccountPermissionsCacheContext::$permissionsHashGenerator property core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php The permissions hash generator.
AssetGroupSetHashTrait trait core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php Provides a method to generate a normalized hash of a given asset group set.
AssetGroupSetHashTrait.php file core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php
AssetGroupSetHashTrait::generateHash function core/lib/Drupal/Core/Asset/AssetGroupSetHashTrait.php Generates a hash for an array of asset groups.
AssetOptimizationTest::replaceGroupHash function core/tests/Drupal/FunctionalTests/Asset/AssetOptimizationTest.php Replaces the group hash in the given URL.
ComposerInspectorTest::testPackageDevSnapshotCommitHashIsRemoved function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests that the commit hash of a dev snapshot package is ignored.
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.
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.
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.
FieldTranslationSynchronizer::itemHash function core/modules/content_translation/src/FieldTranslationSynchronizer.php Computes a hash code for the specified item.
FormValidatorTestMockInterface::hash_validate function core/tests/Drupal/Tests/Core/Form/FormValidatorTest.php Function used in the mocking process of this test.
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.
JsonApiDocumentTopLevelNormalizer::getLinkHash function core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php Hashes an omitted link.
LegacyPasswordHashingTest class core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php Unit tests for password hashing API.
LegacyPasswordHashingTest.php file core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php
LegacyPasswordHashingTest::$hashedPassword property core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php The hashed password.
LegacyPasswordHashingTest::$md5HashedPassword property core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php The md5 password.
LegacyPasswordHashingTest::$password property core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php The raw password.
LegacyPasswordHashingTest::$passwordHasher property core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php The password hasher under test.
LegacyPasswordHashingTest::setUp function core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php
LegacyPasswordHashingTest::testEmptyHash function core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php Tests password validation when the hash is NULL.
LegacyPasswordHashingTest::testPasswordHashing function core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php Tests password hashing.
LegacyPasswordHashingTest::testPasswordNeedsUpdate function core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php Tests a password needs update.
LegacyPasswordHashingTest::testPasswordRehashing function core/modules/phpass/tests/src/Unit/LegacyPasswordHashingTest.php Tests password rehashing.
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.
LockFileValidator::deleteHash function core/modules/package_manager/src/Validator/LockFileValidator.php Deletes the stored lock file hash.
LockFileValidator::getHash function core/modules/package_manager/src/Validator/LockFileValidator.php Returns the XXH64 hash of a file.
LockFileValidator::storeHash function core/modules/package_manager/src/Validator/LockFileValidator.php Stores the XXH64 hash of the active lock file.
LockFileValidatorTest::testNoStoredHash function core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php Tests exception when a stored hash of the active lock file is unavailable.
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.
MockFormBase::hash_submit function core/tests/Drupal/Tests/Core/Form/FormSubmitterTest.php Function used in the mocking process of this test.
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
PasswordHashingLegacyTest class core/tests/Drupal/Tests/Core/Password/PasswordHashingLegacyTest.php Unit tests for deprecated password hashing API.

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