\CryptoManana\Core\Interfaces\MessageDigestionFileHashingInterface

Interface FileHashingInterface - Interface for file hashing.

Summary

Methods
Constants
hashFile()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

hashFile()

hashFile(string  $filename) : string

Calculates a hash value for the content of the given filename and location.

Parameters

string $filename

The full path and name of the file for hashing.

Throws

\Exception

Validation errors.

Returns

string —

The digest.