crcmod is a Python module for generating objects that compute the Cyclic Redundancy Check (CRC). You can generate a Python function for the selected polynomial or an instance of the Crc class which provides the same interface as the md5 and sha modules from the Python standard library.