package crc

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

Install

Dune Dependency

Authors

Maintainers

Sources

crc-2.2.0.tbz
sha256=e013b0c8a5593c121efee9a363d9a2ac3e9cbae7867fbfa40fe44a802c8ce04e
sha512=a317f107a2c7c9a84ddac5513190531b9f9039d20d186e5002ec2d9634535d52054ea17584443ffb64e9840f2cef83321050f9877f451e8768a24c8621644939

Description

Published: 29 Jun 2024

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. dune >= "1.4"

Dev Dependencies (2)

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

Conflicts

None

OCaml

Innovation. Community. Security.