You are here

hackedFileIncludeEndingsHasher.inc in Hacked! 7.2

File

includes/hackedFileIncludeEndingsHasher.inc
View source
<?php

/**
 * This is a much faster, but potentially less useful file hasher.
 */
class hackedFileIncludeEndingsHasher extends hackedFileHasher {
  function perform_hash($filename) {
    return sha1_file($filename);
  }
  function fetch_lines($filename) {
    return file($filename);
  }

}

Classes

Namesort descending Description
hackedFileIncludeEndingsHasher This is a much faster, but potentially less useful file hasher.