Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Pcrc
A parameterized OCaml library for various CRC-8, CRC-16, CRC-32 and CRC-64 algorithms. It allows to instantiate and use (almost) any possible CRC algorithm of 8, 16, 32 or 64 bits.
Build and Install
It should be possible to install the library with opam like any other OCaml package out there:
$ opam install pcrc
Or it may be built and installed with dune:
$ dune build
$ dune install -p pcrc
There are no external dependencies besides OCaml Stdlib and a C compiler to build the C stubs.
Basic Usage
Instantiate a CRC implementation module. E.g., for a variant of CRC-16 used in XMODEM: