SHA1FILE()

From Lianjapedia
Jump to: navigation, search

Purpose

Function to return the SHA-1 cryptographic hash value for one or more files

Syntax

SHA1FILE(<expC>)

See Also

CRC32(), CRC32RECORD(), DES3_DECRYPT(), DES3_ENCRYPT(), DECRYPT, ENCRYPT, MD5(), MD5FILE(), RTOS(), SHA1(), SHA256(), SHA256FILE(), SHA256RECORD(), SET ENCRYPTION, SYS()

Description

The SHA1FILE() function is used to return the SHA-1 cryptographic hash value for the filename or file skeleton, <expC>. The value returned is a 40 character string representing the 20 byte binary result of the SHA-1 message digest for <expC>.

Example

open database southwind
? sha1file("*.dbf")
DA39A3EE5E6B4B0D3255BFEF95601890AFD80709