You are here

abstract function hackedFileHasher::perform_hash in Hacked! 7.2

Same name and namespace in other branches
  1. 6.2 includes/hacked_project.inc \hackedFileHasher::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.

1 call to hackedFileHasher::perform_hash()
hackedFileHasher::hash in includes/hackedFileHasher.inc
Returns a hash of the given filename.
2 methods override hackedFileHasher::perform_hash()
hackedFileIgnoreEndingsHasher::perform_hash in includes/hackedFileIgnoreEndingsHasher.inc
Returns a hash of the given filename.
hackedFileIncludeEndingsHasher::perform_hash in includes/hackedFileIncludeEndingsHasher.inc
Compute and return the hash of the given file.

File

includes/hackedFileHasher.inc, line 54

Class

hackedFileHasher
Base class for the different ways that files can be hashed.

Code

abstract function perform_hash($filename);