package crc

  1. Overview
  2. Docs
CRC implementation supporting strings and cstructs

Install

Dune Dependency

Authors

Maintainers

Sources

2.1.0.tar.gz
md5=9161b48a164f6f3e15b3245b2123153c

Description

Published: 23 Dec 2020

README

ocaml-crc

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.

Dependencies (5)

  1. ppx_sexp_conv >= "v0.11.0"
  2. ppx_deriving_rpc
  3. cstruct >= "1.0.1"
  4. ocaml >= "4.00.1" & < "5.0.0"
  5. dune >= "1.4"

Dev Dependencies (2)

  1. odoc with-doc
  2. ounit with-test

Conflicts

None