You are here

abstract function hackedFileHasher::perform_hash in Hacked! 8.2

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 src/hackedFileHasher.php
Returns a hash of the given filename.
2 methods override hackedFileHasher::perform_hash()
hackedFileIgnoreEndingsHasher::perform_hash in src/hackedFileIgnoreEndingsHasher.php
Returns a hash of the given filename.
hackedFileIncludeEndingsHasher::perform_hash in src/hackedFileIncludeEndingsHasher.php
Compute and return the hash of the given file.

File

src/hackedFileHasher.php, line 56

Class

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

Namespace

Drupal\hacked

Code

abstract function perform_hash($filename);