Difference between revisions of "CRC32()"

From Lianjapedia
Jump to: navigation, search
(See Also)
(Example)
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
==See Also==
 
==See Also==
[[CRC32_RECORD()]], [[DES3_DECRYPT()]], [[DES3_ENCRYPT()]], [[DECRYPT]], [[ENCRYPT]], [[MD5()]], [[MD5FILE()]], [[RTOS()]], [[SHA256_RECORD()]], [[SHA1()]], [[SHA1FILE()]], [[SHA256()]], [[SHA256FILE()]], [[SET ENCRYPTION]]
+
[[CRC32RECORD()]], [[DES3_DECRYPT()]], [[DES3_ENCRYPT()]], [[DECRYPT]], [[ENCRYPT]], [[MD5()]], [[MD5FILE()]], [[RTOS()]], [[SHA256RECORD()]], [[SHA1()]], [[SHA1FILE()]], [[SHA256()]], [[SHA256FILE()]], [[SET ENCRYPTION]]
  
 
==Description==
 
==Description==
 
The CRC32() function is used to return the CRC32 checksum value for the character string, <expC>.  Use CRC32(RTOS()) to calculate a CRC32 checksum of the current record.
 
The CRC32() function is used to return the CRC32 checksum value for the character string, <expC>.  Use CRC32(RTOS()) to calculate a CRC32 checksum of the current record.
  
From v7.2, the [[CRC32_RECORD()]] function can be used to calculate a CRC32 checksum of the current record.
+
From v7.2, the [[CRC32RECORD()]] function can be used to calculate a CRC32 checksum of the current record.
  
 
==Example==
 
==Example==
Line 22: Line 22:
 
[[Category:Lianja VFP Extensions]]
 
[[Category:Lianja VFP Extensions]]
 
[[Category:VFP Function Extensions]]
 
[[Category:VFP Function Extensions]]
 +
[[Category:Encryption]]

Latest revision as of 06:44, 20 April 2022

Purpose

Function to return the CRC32 checksum value for a character string

Syntax

CRC32(<expC>)

See Also

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

Description

The CRC32() function is used to return the CRC32 checksum value for the character string, <expC>. Use CRC32(RTOS()) to calculate a CRC32 checksum of the current record.

From v7.2, the CRC32RECORD() function can be used to calculate a CRC32 checksum of the current record.

Example

? crc32("Lianja")