class Crypt

Extends \Drupal\Component\Utility\Crypt.

Hierarchy

  • class \Drupal\bootstrap\Utility\Crypt extends \Drupal\Component\Utility\Crypt

Expanded class hierarchy of Crypt

Related topics

Namespace

Drupal\bootstrap\Utility

Members

Contains filters are case sensitive
Name Modifiers Type Description
Crypt::$algorithmDigestLengths protected static property The length of each algorithm's digest, keyed by algorithm name.
Crypt::$validSriIntegrityAlgorithms protected static property The valid SRI Integrity algorithms supported by current browsers.
Crypt::checkBase64HashAlgorithm public static function Ensures the base64 encoded hash matches the algorithm's digest length.
Crypt::decodeHashBase64 public static function Decodes a base64 encoded hash back into its raw digest value.
Crypt::determineHashBase64Algorithm public static function Determines the algorithm used for a base64 encoded hash.
Crypt::generateBase64HashIdentifier public static function Generates a unique identifier by serializing and hashing an array of data.
Crypt::generateHash Deprecated public static function Generates a unique hash name.
Crypt::parseSriIntegrity public static function Parses a SRI integrity value to separate the algorithm from the hash.
Crypt::SRI_INTEGRITY_REGEXP constant The regular expression used to match an SRI integrity value.