SHA256RECORD()

From Lianjapedia
Jump to: navigation, search

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")