# crc (Elixir)

> CRC checksums for binary data in Elixir and Erlang

Source: https://talira.ai/catalog/crc-elixir-t6jgg8qr
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / hashing](https://talira.ai/categories/libraries/hashing), [languages / elixir](https://talira.ai/categories/languages/elixir)
- Licence: MIT[^2][^3]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^2]
- Backed by: [Rodney Norris](https://talira.ai/orgs/rodney-norris.md)

crc calculates CRC (cyclic redundancy check) values for binary data in Elixir and Erlang, using NIFs written in C that report their time-slice usage so they don't block the schedulers. It ships many pre-defined models such as CRC-16 X-Modem, lets you define or extend a model at runtime with a map, and supports incremental calculations that you finalise later.

## Links

- GitHub: https://github.com/TattdCodeMonkey/crc
- Docs: https://hexdocs.pm/crc/

## Problems it solves

- compute a CRC-16 checksum of a binary in Elixir
- verify the checksum on frames from a serial device or binary protocol in Erlang
- calculate a CRC over a stream of chunks without holding it all in memory

## Features

- pre-defined CRC models, listed with CRC.list/0 and CRC.list/1
- custom models defined at runtime, or extended from a pre-defined one
- incremental calculation with crc_init, updated in parts and finalised later
- C NIFs that report time-slice usage so they don't interfere with the schedulers
- usable from Mix, rebar3 and erlang.mk

## Limitations

- Builds its NIFs from C source, so installing it needs a C compiler and make[^1]

## Trust

Overall: 0.34 out of 1.
Signals: maintenance 0.54, adoption 0.29, momentum 0.02, community 0.49, backing 0.30, extensibility 0.00.

- last commit 2 months ago
- 13 commits in the last 90 days
- 28 GitHub stars
- 16 contributors
- backed by Rodney Norris

## Sources

[^1]: https://github.com/TattdCodeMonkey/crc/blob/main/README.md (checked 29 Nov 2026)
[^2]: https://github.com/TattdCodeMonkey/crc/blob/main/LICENSE.md (checked 29 Nov 2026)
[^3]: https://github.com/TattdCodeMonkey/crc/blob/main/mix.exs (checked 29 Nov 2026)
