File Exchange

image thumbnail

Fast CRC-32 calculation

version 1.0.2 (2.89 KB) by Mikhail
Calculate CRC-32 checksum of input data

6 Downloads

Updated 18 Dec 2018

View Version History

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 (2020). Fast CRC-32 calculation (https://www.mathworks.com/matlabcentral/fileexchange/69757-fast-crc-32-calculation), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Andrew

fast and works. awesome.

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!