small crc32 calculator
Go to file
Connor Olding cf1df4e226 don't treat "--" as plain argument 2012-08-28 04:03:50 -07: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 updated readme 2012-08-04 09:15:06 -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 cleanup 2012-08-05 20:19:44 -07:00
crc32.h offload crc table handling 2012-08-05 19:58:43 -07:00
main.c cleanup 2012-08-05 20:19:44 -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.