A Cyclic Redundancy Check (CRC) library for Ruby.
Ruby
Pull request Compare This branch is 2 commits ahead, 89 commits behind postmodern:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib/digest
spec
.gitignore
.specopts
.yardopts
ChangeLog.md
LICENSE.txt
README.md
Rakefile
VERSION
digest-crc.gemspec

README.md

Digest CRC

Description

Adds support for calculating Cyclic Redundancy Check (CRC) to the Digest module.

Features

  • Provides support for the following CRC algorithms:
    • CRC5
    • CRC8
    • CRC16
    • CRC16 CCITT
    • CRC16 DNP
    • CRC16 Modbus
    • CRC16 USB
    • CRC16 XModem
    • CRC16 ZModem
    • CRC24
    • CRC32
    • CRC32 Mpeg
    • CRC64
  • Pure Ruby implementation.
  • Provides CRC Tables for optimized calculations.

Install

$ sudo gem install digest-crc

Thanks

Special thanks go out to the pycrc library which is able to generate C source-code for all of the CRC algorithms, including their CRC Tables.

License

See {file:LICENSE.txt} for license information.