Difference between revisions of "SHA256()"

From Lianjapedia
Jump to: navigation, search
(Description)
(Example)
 
Line 22: Line 22:
 
[[Category:VFP Function Extensions]]
 
[[Category:VFP Function Extensions]]
 
[[Category:Encryption]]
 
[[Category:Encryption]]
[[Category:Lianja v7.2]]
+
[[Category:Lianja v8.0]]

Latest revision as of 09:59, 7 July 2022

Purpose

Function to return the SHA-256 cryptographic hash value for a character string

Syntax

SHA256(<expC>)

See Also

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

Description

The SHA256() function is used to return the SHA-256 cryptographic hash value for the character string, <expC>. The value returned is a 64 character string.

Example

? sha256("The quick brown fox jumps over the lazy dog")
D7A8FBB307D7809469CA9ABCB0082E4F8D5651E46D3CDB762D02D0BF37C9E592