Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Hash.CRC32

Calculates 32bit CRC value.

Component Version macOS Windows Linux Server iOS SDK
Hash 8.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Hash.CRC32"; InputType; InputData { ; InputEncoding; StartValue } )   More

Parameters

Parameter Description Example Flags
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 The text encoding for text input.
Parameter is ignored for other cases.
"UTF-8" Optional
StartValue The start value for the CRC.
Default is zero.
0 Optional

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)

Release notes

Blog Entries

This function checks for a license.

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


HadErrors - Hash.Digest