sha1_file
sha1_file
(PHP 4 >= 4.3.0, PHP 5, PHP 7)
sha1_file — Calculate the sha1 hash of a file
Description
string sha1_file ( string $filename [, bool $raw_output = false ] )
Calculates the sha1 hash of the file specified by filename
using the » US Secure Hash Algorithm 1, and returns that hash. The hash is a 40-character hexadecimal number.
Parameters
-
file