Difference between revisions of "SHA256RECORD()"

From Lianjapedia
Jump to: navigation, search
(Created page with "==Purpose== Function to return the SHA-256 cryptographic hash value for the current record ==Syntax== SHA256RECORD([nWorkarea | cAlias]) ==See Also== CRC32(), CRC32REC...")
 
(Example)
 
Line 26: Line 26:
 
[[Category:VFP Function Extensions]]
 
[[Category:VFP Function Extensions]]
 
[[Category:Encryption]]
 
[[Category:Encryption]]
[[Category:Lianja v7.2]]
+
[[Category:Lianja v8.0]]

Latest revision as of 10:00, 7 July 2022

Purpose

Function to return the SHA-256 cryptographic hash value for the current record

Syntax

SHA256RECORD([nWorkarea | cAlias])

See Also

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

Description

The SHA256RECORD() function is used to return the SHA-256 cryptographic hash value for the current record. The numeric cursor/workarea or character string alias can optionally be specified. The value returned is a 64 character string.

Example

open database southwind
select 2
use shippers
? crc32record()
? crc32record(2)
? crc32record("shippers")