public static function calculateHashSecure($jumpUrl, $locationData, $mimeType)
    {
        $data = [(string)$jumpUrl, (string)$locationData, (string)$mimeType];
        return GeneralUtility::hmac(serialize($data));
    }
public static function calculateHashSecure($jumpUrl, $locationData, $mimeType)
    {
        $data = [(string)$jumpUrl, (string)$locationData, (string)$mimeType];
        return GeneralUtility::hmac(serialize($data));
    }
public static function calculateHashSecure ( $ jumpUrl , $ locationData , $ mimeType ) { $ data = [ ( string ) $ jumpUrl , ( string ) $ locationData , ( string ) $ mimeType ] ; return GeneralUtility :: hmac ( serialize ( $ data ) ) ; }
Calculates the hash for the given jump URL secure data.

@param string $jumpUrl The URL to the file
@param string $locationData Information about the record that rendered the jump URL, format is [pid]:[table]:[uid]
@param string $mimeType Mime type of the file or an empty string
@return string The calculated hash
Calculates the hash for the given jump URL secure data .