# Install crcany with Homebrew

Compute any CRC, a bit at a time, a byte at a time, and a word at a time. Version 2.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:crcany
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install crcany
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:crcany
- **Package manager:** Homebrew
- **Version:** 2.1
- **Source summary:** Compute any CRC, a bit at a time, a byte at a time, and a word at a time
- **Homepage:** <https://github.com/madler/crcany>
- **Repository:** <https://github.com/madler/crcany>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- crcany (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.1
## Project history and usage

crcany is Mark Adler's suite of programs for computing arbitrary CRCs and generating C code for efficient CRC calculation and combination.

### Project history

The madler/crcany repository was created in 2016. Its README describes the project as a definitive reference for computing and combining any CRC with bit-at-a-time, byte-at-a-time, or word-at-a-time algorithms on big- or little-endian architectures.

### Adoption history

crcany is specialized infrastructure software rather than a broad end-user CLI. Its package appeal comes from bundling reference CRC definitions, code generation, test tooling, and small executables that can be built with make.

### How it is used

The suite can compute CRCs from named catalogue parameters, combine CRCs from byte sequences, and generate .c and .h files for one or more CRC definitions. The README also documents a make test target that checks calculations and generated code against catalogued CRCs.

### Why package nerds care

For maintainers and systems programmers, crcany matters because it turns CRC catalogue data into reproducible C implementations and tests. That makes it useful as both a command-line tool and a source-code generator for packages that need exact checksum behavior.

### Timeline

- 2016: madler/crcany repository created.
- 2020: crcany 2.0 commit present in the official repository.
- 2021: crcany 2.1 commit present in the official repository.

### Related projects

- The README explicitly references Greg Cook's CRC catalogue and Ross Williams's CRC tutorial as the parameter and background sources that crcany consumes.

### Sources

- <https://github.com/madler/crcany>
- <https://github.com/madler/crcany#readme>
- <https://github.com/madler/crcany/tags>
- <https://github.com/madler/crcany/commit/e24f7b2b5daea125848e1a0eb2fa5042b3872461>
- <https://github.com/madler/crcany/commit/41db4b35905f695410dfa76101116b16a486d393>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/crcany.yml](https://github.com/mxcl/pkgdb/blob/main/combined/crcany.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
