CRC32FileFingerprint()

Syntax

Result = CRC32FileFingerprint(Filename$ [, Offset [, Length]])
Description
Returns the CRC32 checksum of the given file.

Parameters

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 checksum calculation.
Length (optional) The length (in bytes) to use for the checksum calculation.

Return value

Returns the checksum for the file. If the file isn't found or an error has happened, the result will be zero.

Remarks

CRC32 is a 32-bit fingerprint not intended for password storage as it's easily crackable, but for quick data integrity checks. The main advantage of CRC32 over MD5 or other hash algorithm is its very high speed.

See Also

CRC32Fingerprint(), MD5FileFingerprint(), SHA1FileFingerprint()

Supported OS

All

<- Base64Encoder() - Cipher Index - CRC32Fingerprint() ->