Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
CRC_32OfStrMBS(s as String) as UInt32
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | Encryption and Hash | MBS Util Plugin | 3.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See the text "About-CRC" for details about this Checksum things.
This function is also available as part of the memoryblock class.
About Checksums:
These functions calculate CRCs over a range of bytes in a MemoryBlock or in a String.
There are three versions of CRC calculation: One for 16 Bit, one for 32 Bit and one for 16 to 64 Bit wide checksums. If you are free to choose, I suggest that you use the 32 Bit version because of its accuracy and performance.
Some background on using checksums/CRCs:
Checksums, such as CRCs, are used to quickly verify that a chunk of data has not been modified somehow without your control. To use it, you'd calculate the checksum (CRC) of your data, then store that checksum value (which only needs 2 to 8 bytes of storage) somewhere. Later, when retrieving your data, you calculate its checksum again and compare its value with the previously stored value. If it does not match, the data got somehow corrupted. If it matches, that it is quite likely, although not 100% sure, that the data is still in its original state.
There are 3 different CRC algorithms available:
The items on this page are in the following plugins: MBS Util Plugin.