package checkseum

  1. Overview
  2. Docs

Description

=========

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.

Published: 23 Aug 2018

README

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.

Dependencies (8)

  1. cmdliner
  2. rresult
  3. fmt
  4. base-bigarray
  5. base-bytes
  6. optint < "0.0.5"
  7. jbuilder >= "1.0+beta7"
  8. ocaml >= "4.03.0" & < "4.12"

Dev Dependencies

None

Used by (6)

  1. albatross
  2. decompress >= "0.8" & < "0.9.0"
  3. esperanto-cosmopolitan >= "0.0.5"
  4. irmin-pack >= "3.5.0"
  5. oneffs
  6. rfc1951 < "0.9.0" | >= "1.4.0"

Conflicts

None