29 calls to Crypt::randomBytesBase64()

BigPipe::sendNoJsPlaceholders in core/modules/big_pipe/src/Render/BigPipe.php
Sends no-JS BigPipe placeholders' replacements as embedded HTML responses.
BigPipe::sendPreBody in core/modules/big_pipe/src/Render/BigPipe.php
Sends everything until just before </body>.
CsrfTokenGenerator::get in core/lib/Drupal/Core/Access/CsrfTokenGenerator.php
Generates a token based on $value, the user session, and the private key.
CsrfTokenGeneratorTest::setupDefaultExpectations in core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php
Set up default expectations on the mocks.
CsrfTokenGeneratorTest::testGenerateSeedOnGet in core/tests/Drupal/Tests/Core/Access/CsrfTokenGeneratorTest.php
Tests that a new token seed is generated upon first use.
drupal_generate_test_ua in core/includes/bootstrap.inc
Generates a user agent string with a HMAC and timestamp for tests.
FormBuilder::prepareForm in core/lib/Drupal/Core/Form/FormBuilder.php
FormBuilder::rebuildForm in core/lib/Drupal/Core/Form/FormBuilder.php
FormCache::getCache in core/lib/Drupal/Core/Form/FormCache.php
Html::getUniqueId in core/lib/Drupal/Component/Utility/Html.php
Prepares a string for use as a valid HTML ID and guarantees uniqueness.
InstallCommand::install in core/lib/Drupal/Core/Command/InstallCommand.php
Installs Drupal with specified installation profile.
InstallerConfigDirectorySetNoDirectoryErrorTest::prepareEnvironment in core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryErrorTest.php
InstallerConfigDirectorySetNoDirectoryTest::prepareEnvironment in core/tests/Drupal/FunctionalTests/Installer/InstallerConfigDirectorySetNoDirectoryTest.php
JsonApiDocumentTopLevelNormalizer::normalizeOmissionsLinks in core/modules/jsonapi/src/Normalizer/JsonApiDocumentTopLevelNormalizer.php
Normalizes omitted data into a set of omission links.
LinkCollectionNormalizer::hashByHref in core/modules/jsonapi/src/Normalizer/LinkCollectionNormalizer.php
Hashes a link using its href and its target attributes, if any.
MetadataBag::stampNew in core/lib/Drupal/Core/Session/MetadataBag.php
phpcs:ignore Drupal.Commenting.FunctionComment.VoidReturn
MTimeProtectedFastFileStorage::tempnam in core/lib/Drupal/Component/PhpStorage/MTimeProtectedFastFileStorage.php
A brute force tempnam implementation supporting streams.
OEmbedIframeController::render in core/modules/media/src/Controller/OEmbedIframeController.php
Renders an oEmbed resource.
PermissionsHashGeneratorTest::setUp in core/tests/Drupal/Tests/Core/Session/PermissionsHashGeneratorTest.php
PrivateKey::create in core/lib/Drupal/Core/PrivateKey.php
Creates a new private key.
PrivateKeyTest::setUp in core/tests/Drupal/Tests/Core/PrivateKeyTest.php
PrivateTempStore::set in core/lib/Drupal/Core/TempStore/PrivateTempStore.php
Stores a particular key/value pair in this PrivateTempStore.
SharedTempStoreFactory::get in core/lib/Drupal/Core/TempStore/SharedTempStoreFactory.php
Creates a SharedTempStore for the current user or anonymous session.
SiteSettingsForm::createRandomConfigDirectory in core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php
Create a random config sync directory.
SiteSettingsForm::submitForm in core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php
system_install in core/modules/system/system.install
Implements hook_install().
template_preprocess_html in core/includes/theme.inc
Prepares variables for HTML document templates.
UpdatePathTestBase::prepareSettings in core/tests/Drupal/FunctionalTests/Update/UpdatePathTestBase.php
Add settings that are missed since the installer isn't run.
UserController::resetPassLogin in core/modules/user/src/Controller/UserController.php
Validates user, hash, and timestamp; logs the user in if correct.

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