Function: fhash

Syntax

fhash (<file> {,<password> {,<algorithm>}})

Type

string

Returns

A derived fingerprint (hash value) for a file.

Various algorithms are available for computing hash values, and the fingerprint may be encrypted via a supplied password.

Fingerprints are text strings of hexadecimal numeric sequences. Different algorithms generate different fingerprint string lengths.

Parameters

Examples

The following would return a 32-character password-encrypted string MD5 value.

string myhash = fhash(myfile,'toblerone',2)