function hackedFileIncludeEndingsHasher::perform_hash in Hacked! 7.2
Same name and namespace in other branches
- 6.2 includes/hacked_project.inc \hackedFileIncludeEndingsHasher::perform_hash()
Compute and return the hash of the given file.
Parameters
$filename: A fully-qualified filename to hash.
Return value
string The computed hash of the given file.
Overrides hackedFileHasher::perform_hash
File
- includes/
hackedFileIncludeEndingsHasher.inc, line 8
Class
- hackedFileIncludeEndingsHasher
- This is a much faster, but potentially less useful file hasher.
Code
function perform_hash($filename) {
return sha1_file($filename);
}