Returns the hash of the form object, which should be calculated only once
for performance concerns.

@return string
428719
public function getHash()
    {
        if (null === $this->hash) {
            $this->hash = $this->calculateHash();
        }

        return $this->hash;
    }
35775
public function getHash()
	{
		$data = [];

		foreach($this->instrumentors as $instrumentor)
		{
			$data[get_class($instrumentor)] = NULL;
			
			if($instrumentor instanceof CachingInstrumentorInterface)
			{
				$data[get_class($instrumentor)] = $instrumentor->getHash();
			}
			else
			{
				$data[get_class($instrumentor)] = NULL;
			}
		}
		
		ksort($data);
		
		if($this->needsSort)
		{
			sort($this->nameBlacklist);
			sort($this->supertypeBlacklist);
			
			$this->needsSort = false;
		}
		
		$prefix = md5(implode('|', $this->nameBlacklist));
		$prefix .= md5(implode('|', $this->supertypeBlacklist));

		return $prefix . md5(implode('|', array_keys($data)) . '*' . implode('|', array_filter($data, function($el) {
			return $el !== NULL;
		})));
	}
723439
public function getHashCode() {
    	return md5(
    		  $this->_renderingFunction
    		. $this->_mimeType
    		. $this->_uniqueName
    		. parent::getHashCode()
    		. __CLASS__
    	);
    }
1074859
protected function getParameterHash()
    {
        $parts = array(
            $this->repo->getName(),
            serialize((array) $this->limit),
            serialize((array) $this->orderBy),
            serialize((array) $this->predicate),
        );

        return md5(implode('|', $parts));
    }
1153341
protected function getMatchHash()
    {
        $hashes = [];

        foreach($this->matchers as $matcher) {
            $hashes[] = $matcher->getHash();
        }

        return implode('::', $hashes);
    }
365167
public function getHashCode() {
    	return md5(
    		  ($this->_visible ? 't' : 'f')
    		. $this->_blurRadius
    		. $this->_distance
    		. $this->_direction
    		. $this->_alignment
    		. $this->_color->getHashCode()
    		. $this->_alpha
    		. __CLASS__
    	);
    }
818852
public function getHashCode()
    {
        if ($this->isSupervisor) {
            return $this->getSharedComponent()->getHashCode();
        }
        return md5(
            $this->horizontal .
            $this->vertical .
            $this->textRotation .
            ($this->wrapText ? 't' : 'f') .
            ($this->shrinkToFit ? 't' : 'f') .
            $this->indent .
            $this->readorder .
            __CLASS__
        );
    }
698407
public function getHashCode()
    {
        return md5(
            $this->author .
            $this->text->getHashCode() .
            $this->width .
            $this->height .
            $this->marginLeft .
            $this->marginTop .
            ($this->visible ? 1 : 0) .
            $this->fillColor->getHashCode() .
            $this->alignment .
            __CLASS__
        );
    }
803481
public function getHashCode() {
    	return md5(
    		  $this->_conditionType
    		. $this->_operatorType
    		. implode(';', $this->_condition)
    		. $this->_style->getHashCode()
    		. __CLASS__
    	);
    }
131050
public function calculateHash(): string
    {
        return EntityUtils::calculateHashOfArray([
            $this->type,
            $this->name,
            $this->labels->calculateHash(),
            $this->descriptions->calculateHash(),
            $this->providesRecipeLocalisation,
            $this->providesMachineLocalisation,
            $this->iconHash,
            $this->isNew,
        ]);
    }
1140948
public function getHash ()
    {
        if ($this->contextHashData['version'] !== $this->version) {
            $this->contextHashData['version'] = $this->version;
            $this->contextHashData['hash'] = md5(json_encode($this->data));
        }
        
        return $this->contextHashData['hash'];
    }
86917
public function getHashCode() {
		if ($this->_isSupervisor) {
			return $this->getSharedComponent()->getHashCode();
		}
		return md5(
			  $this->getFillType()
			. $this->getRotation()
			. $this->getStartColor()->getHashCode()
			. $this->getEndColor()->getHashCode()
			. __CLASS__
		);
	}
933611
public function generateHash()
    {
        $this->createCallableObjects();

        $sHash = '';
        foreach($this->aNamespaces as $sNamespace => $aOptions)
        {
            $sHash .= $sNamespace . $aOptions['separator'];
        }
        foreach($this->aCallableObjects as $sClassName => $xCallableObject)
        {
            $sHash .= $sClassName . implode('|', $xCallableObject->getMethods());
        }

        return md5($sHash);
    }
353372
public function calculateHash(): string
    {
        return EntityUtils::calculateHashOfArray([
            $this->name,
            $this->labels->calculateHash(),
            $this->descriptions->calculateHash(),
            $this->craftingCategories,
            $this->craftingSpeed,
            $this->numberOfItemSlots,
            $this->numberOfFluidInputSlots,
            $this->numberOfFluidOutputSlots,
            $this->numberOfModuleSlots,
            $this->energyUsage,
            $this->energyUsageUnit,
            $this->iconHash,
        ]);
    }
805056
public function getHash()
    {
        if ($this->hash === null) {
            $this->hash = sha1_file($this->getLocalPath());
        }

        return $this->hash;
    }
841998
protected function getHashAlgorithm()
    {
        // Possible hashes
        $hashes = [
            'sha512',
            'sha256',
            'sha384',
            'ripemd160',
            'sha224',
            'mdc2'
        ];

        $hashEnabled = hash_algos();

        foreach ($hashes as $hash) {
            if (in_array($hash, $hashEnabled)) {
                return strtoupper($hash);
            }
        }

        throw new \RuntimeException(
            Translator::getInstance()->trans(
                "Failed to find a suitable hash algorithm. Please check your PHP configuration."
            )
        );
    }
632918
public function hashCode() {
		$h = $this->hash;
		$l = $this->length();
		if ( $h == 0 && $l > 0 ) {
			for ( $i = 0; $i < $l; $i ++ ) {
				$h = (int) ( 31 * $h + $this->charCodeAt( $i ) );
			}
			$this->hash = $h;
		}

		return $h;
	}