package checkseum

  1. Overview
  2. Docs
Adler-32, CRC32 and CRC32-C implementation in C and OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

checkseum-v0.0.3.tbz
sha256=d5057adeda7eb8e1cd29d0b8e37ec8883185616bcba11e3ab73ed0b8f52f448a
md5=ae5c301cd3d514ed44e13796015bfc1c

README.md.html

Checkseum

Chekseum is a library which implements ADLER-32 and CRC32C Cyclic Redundancy Check. It provides 2 implementation, the first in C and the second in OCaml. The library is on top of optint to get the best representation of the CRC in the OCaml world.

Then, as digestif, checkseum uses the linking trick. So if you want to use checkseum in a library, you can link with the checkseum package which does not provide an implementation. Then, end-user can choose between the C implementation or the OCaml implementation (both work on Mirage).

Of course, you can link directly to checkseum.c or checkseum.ocaml if you want to make an executable directly.

Build Requirements

  • OCaml >= 4.03.0

  • base-bytes

  • base-bigarray

  • dune to build

  • optint

OCaml

Innovation. Community. Security.