small crc32 calculator
Go to file
cojocar b4acc03e65 crc_be: bugfix: use only the last two bytes to index crc_table 2013-11-14 11:12:58 +01:00
LICENSE relicense to MIT 2012-08-04 05:23:29 -07:00
Makefile refactored crc32.h 2012-08-04 10:03:16 -07:00
README.md Link to even smaller crc32 implementation 2013-06-04 13:16:24 -07:00
args.c don't treat "--" as plain argument 2012-08-28 04:03:50 -07:00
args.h style change (bsd-like) 2012-08-04 07:24:04 -07:00
crc32.c crc_be: bugfix: use only the last two bytes to index crc_table 2013-11-14 11:12:58 +01:00
crc32.h offload crc table handling 2012-08-05 19:58:43 -07:00
main.c don't free nodes too early 2012-08-28 18:02:00 -07:00

README.md

crc32

It computes crc32s, and what of it?

Usage

crc32 - a 32-bit cyclic rendundancy check calculator

  <files...>        open files as inputs
  -h                display this text
  -s <n>            start cycle with n (default: 0xFFFFFFFF)
  -p <n>            use n as the crc divisor (default: 0x04C11DB7)
  -e                use big endian calculations
  -b                output as binary
  -x                NOT the output
  -r                reverse output's bits

numbers <n> may be entered as hexadecimal or octal with prefixes

Notes

  • Does not pad input.
  • Big endian calculations are somewhat untested.

Smaller Still