small crc32 calculator
Go to file
Connor Olding 34dc1a8df2 combine crc table fillers 2012-08-05 19:03:40 -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 style change (bsd-like) 2012-08-04 07:24:04 -07:00
args.h style change (bsd-like) 2012-08-04 07:24:04 -07:00
crc32.c combine crc table fillers 2012-08-05 19:03:40 -07:00
crc32.h refactored crc32.h 2012-08-04 10:03:16 -07:00
main.c use fread for speed 2012-08-04 13:14:49 -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.