checkseum

Adler-32, CRC32 and CRC32-C implementation in C and OCaml
README

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

Install
Sources
checkseum-v0.1.0.tbz
sha256=0f154f2e0537d524db91771784d4ac26696e718df0120e3bab798f6a38d8ac2d
sha512=6254f135abd60e62b9eb3e9b65903a546eb2058d14e92a5cc0be94380f2d11da652ab24d2a672f2bca7d509eb19eae6da5bad7deb4ca3b438b8759ae71e3d3b3
Dependencies
Reverse Dependencies
decompress
>= "0.8" & < "1.0.0"
git
>= "2.0.0" & < "3.0.0"
rfc1951
< "1.0.0" | >= "1.4.0"