Supported Versions: PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL hash >= 1.1
Generate a hash value using the contents of a given file
<?php hash_file(    string $algo,    string $filename,    bool $binary = false,    array $options = []): string|false
<?php     public function hash($path, $algorithm = 'md5')

    {

        return hash_file($algorithm, $path);

    }