original_string: protected static function getConsumerKey($key)
      {
  
          $len = strlen($key);
          if ($len > 255) {
              $key = 'sha512:' . hash('sha512', $key);
          }
  
          return $key;
  
      }
code: protected static function getConsumerKey($key)
      {
  
          $len = strlen($key);
          if ($len > 255) {
              $key = 'sha512:' . hash('sha512', $key);
          }
  
          return $key;
  
      }
code_tokens: protected static function getConsumerKey ( $ key ) { $ len = strlen ( $ key ) ; if ( $ len > 255 ) { $ key = 'sha512:' . hash ( 'sha512' , $ key ) ; } return $ key ; }
docstring: Return a hash of a consumer key for values longer than 255 characters.
  
  @param string $key
  @return string
docstring_tokens: Return a hash of a consumer key for values longer than 255 characters .