Fast CRC-32 calculation

Version 1.0.2 (2.89 KB) by Mikhail
Calculate CRC-32 checksum of input data
839 Downloads
Updated 18 Dec 2018

View License

CRC = crc32(DATA) calculates CRC-32 checksum of input data.
The elements of DATA are treated as individual bytes (uint8's). Resulting CRC is unsigned 32-bit integer (uint32).

Example: crc32(fileread('crc32.m'))

Cite As

Mikhail (2026). Fast CRC-32 calculation (https://au.mathworks.com/matlabcentral/fileexchange/69757-fast-crc-32-calculation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Error Detection and Correction in Help Center and MATLAB Answers
Version Published Release Notes
1.0.2

Wording

1.0.1

Wording

1.0.0