Returns the whole line if it's small enough, or the MD5 hash otherwise.
function _line_hash($line) { if (drupal_strlen($line) > $this ->MAX_XREF_LENGTH()) { return md5($line); } else { return $line; } }