Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

Hash.CRC32

Calculates 32bit CRC value.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Hash 8.3 Yes Yes Yes Yes Yes

MBS( "Hash.CRC32"; InputType; InputData { ; InputEncoding; StartValue } )

Parameters

Parameter Description Example value
InputType The type of input.
Can be Text, Container, Image, Path, PDF, Data, base64 or Hex.
"Text"
InputData The actual input data.
Text, container or file path.
"Hello World"
InputEncoding Optional
The text encoding for text input.
Parameter is ignored for other cases.
"UTF-8"
StartValue Optional
The start value for the CRC.
Default is zero.
0

Result

Returns OK or error.

Description

Calculates 32bit CRC value.
Same algorithm as used for zip functions.

Examples

CRC32 of Hello:

MBS("Hash.CRC32"; "Text"; "Hello"; "UTF-8"; 0)

Created 11st July 2018, last changed 11st July 2018


GetSystemUIModeOptions   -   Hash.Digest

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins