original_string: public static function calculateHashSecure($jumpUrl, $locationData, $mimeType)
      {
          $data = [(string)$jumpUrl, (string)$locationData, (string)$mimeType];
          return GeneralUtility::hmac(serialize($data));
      }
code: public static function calculateHashSecure($jumpUrl, $locationData, $mimeType)
      {
          $data = [(string)$jumpUrl, (string)$locationData, (string)$mimeType];
          return GeneralUtility::hmac(serialize($data));
      }
code_tokens: public static function calculateHashSecure ( $ jumpUrl , $ locationData , $ mimeType ) { $ data = [ ( string ) $ jumpUrl , ( string ) $ locationData , ( string ) $ mimeType ] ; return GeneralUtility :: hmac ( serialize ( $ data ) ) ; }
docstring: 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
docstring_tokens: Calculates the hash for the given jump URL secure data .