CRC32 tools: reverse, undo/rewind, and calculate hashes
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml Consolidated changes Apr 2, 2014
LICENSE.txt Initial commit Apr 1, 2014
README.md Make landscape.io improvements Feb 7, 2016
crc32.py Make landscape.io improvements Feb 7, 2016
test.py Format with autopep8 Apr 19, 2014
test_data.py Format with autopep8 Apr 19, 2014

README.md

CRC32 Tools

Build Status Coverage Status Code Health

License

This project is licensed under the GPL v3 license.

Usage

Run the command line to see usage instructions:

crc32.py -h
usage: crc32.py [-h] action ...

Reverse, undo, and calculate CRC32 checksums

positional arguments:
  action
    flip      flip the bits to convert normal(msbit-first) polynomials to
              reversed (lsbit-first) and vice versa
    reciprocal
              find the reciprocal (Koopman notation) of a reversed (lsbit-
              first) polynomial and vice versa
    table     generate a lookup table for a polynomial
    reverse   find a patch that causes the CRC32 checksum to become a desired
              value
    undo      rewind a CRC32 checksum
    calc      calculate the CRC32 checksum

optional arguments:
  -h, --help  show this help message and exit