Copyright | (c) 2013 Kim Altintop <kim.altintop@gmail.com> Edward Kmett (?) |
---|---|
Maintainer | Kim Altintop <kim.altintop@gmail.com> |
Stability | stable |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Implementation of the CRC32C checksum algorithm.
The current implementation is in "pure" Haskell, thus does not take advantage of hardware implementations available on several CPU types. It's performance (throughput) is therefore possibly insufficient for certain classes of applications.
Attribution: it is believed that the code is, at least partly, based on an implementation by Edward Kmett, which has since vanished from the internet.
Documentation
crc32c :: ByteString -> Word32 Source #
crc32c_update :: Word32 -> ByteString -> Word32 Source #