Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4    Statistic    FMM    Blog  

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

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


HadErrors - Hash.Digest

Feedback: Report problem or ask question.


Start Chat