Difference between revisions of "SHA1()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[CRC32()]], [[DES3_DECRYPT()]], [[DES3_ENCRYPT()]], [[MD5()]], [[MD5FILE()]], [[SHA1FILE()]], [[SYS()]] | + | [[CRC32()]], [[DES3_DECRYPT()]], [[DES3_ENCRYPT()]], [[DECRYPT]], [[ENCRYPT]], [[MD5()]], [[MD5FILE()]], [[RTOS()]], [[SHA1FILE()]], [[SHA256()]], [[SHA256FILE()]], [[SHA256RECORD()]], [[SET ENCRYPTION]], [[SYS()]] |
==Description== | ==Description== | ||
Line 21: | Line 21: | ||
[[Category:Lianja VFP Extensions]] | [[Category:Lianja VFP Extensions]] | ||
[[Category:VFP Function Extensions]] | [[Category:VFP Function Extensions]] | ||
+ | [[Category:Encryption]] |
Latest revision as of 07:19, 21 April 2022
Contents
Purpose
Function to return the SHA-1 cryptographic hash value for a character string
Syntax
SHA1(<expC>)
See Also
CRC32(), DES3_DECRYPT(), DES3_ENCRYPT(), DECRYPT, ENCRYPT, MD5(), MD5FILE(), RTOS(), SHA1FILE(), SHA256(), SHA256FILE(), SHA256RECORD(), SET ENCRYPTION, SYS()
Description
The SHA1() function is used to return the SHA-1 cryptographic hash value for the character string, <expC>. The value returned is a 40 character string representing the 20 byte binary result of the SHA-1 message digest for <expC>.
Example
? sha1("The quick brown fox jumps over the lazy dog") 2FD4E1C67A2D28FCED849EE1BB76E7391B93EB12