SHA1FileFingerprint()

语法

Result$ = SHA1FileFingerprint(Filename$ [, Offset [, Length]])
概要
Returns a 40 characters long SHA1 (Secure Hash Algorithm 1) hash code for the specified file.

参数

FileName$ The file of which the fingerprint should be calculated.
Offset (optional) The offset (in bytes) from the start of the file to begin the hash calculation.
Length (optional) The length (in bytes) to use for the hash calculation.

返回值

Returns the hash code if the calculation was successful. If the file isn't found or an error has happened, the result will be empty.

Remarks

See SHA1Fingerprint() for more information on the SHA1 algorithm.

参阅

SHA1Fingerprint(), ExamineSHA1Fingerprint(), MD5FileFingerprint(), CRC32FileFingerprint()

已支持操作系统

所有

<- OpenCryptRandom() - Cipher Index - SHA1Fingerprint() ->