Difference between revisions of "SHA1FILE()"

From Lianjapedia
Jump to: navigation, search
Line 22: Line 22:
 
[[Category:Lianja VFP Extensions]]
 
[[Category:Lianja VFP Extensions]]
 
[[Category:VFP Function Extensions]]
 
[[Category:VFP Function Extensions]]
 +
[[Category:Encryption]]

Revision as of 07:17, 20 April 2022

Purpose

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

Syntax

SHA1FILE(<expC>)

See Also

CRC32(), DES3_DECRYPT(), DES3_ENCRYPT(), DECRYPT, ENCRYPT, MD5(), MD5FILE(), RTOS(), SHA1(), 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