sha1_file

(PHP 4 CVS only)

sha1_file -- Calculate the sha1 hash of a file

Description

string sha1_file ( string filename)

Calculates the sha1 hash of filename using the US Secure Hash Algorithm 1, and returns that hash. The hash is a 40-character hexadecimal number. Upon failure, FALSE is returned.

See also sha1(), crc32(), and md5_file()