function public static function Crypt::generateHash

8.x-3.x Crypt.php public static Crypt::generateHash()

Generates a unique hash name.

Parameters

...: All arguments passed will be serialized and used to generate the hash.

Return value

string The generated hash identifier.

Deprecated

since 8.x-3.18. Will be removed in a future release.

Class

Crypt
Extends \Drupal\Component\Utility\Crypt.

Namespace

Drupal\bootstrap\Utility

Source src/Utility/Crypt.php (line 186)

public static function generateHash() {
  Bootstrap::deprecated();
  $args = func_get_args();
  return static::generateBase64HashIdentifier($args, $args[0]);
}