Skip to content

Library for finding the CRC of parts of various kinds of data in-place

License

Notifications You must be signed in to change notification settings

xapi-project/ocaml-crc

Repository files navigation

ocaml-crc

Build status Coverage Status

This library allows you to compute CRC-32 checksums of buffers and strings e.g.

# Crc32.string "hello" 0 5;;
- : int32 = 907060870l

The current algorithm is CRC-32 as used by HDLC, ANSI X3.66, ITU-T V.42, Ethernet, Serial ATA, MPEG-2, PKZIP, Gzip, Bzip2, PNG and others.