alexgorbatchev / crc

Blazingly fast CRC implementations for node.js and browser
MIT License
349 stars 72 forks source link

Adding support for crc-ccitt #4

Closed underbluewaters closed 12 years ago

underbluewaters commented 12 years ago

CCITT is very similar to the existing crc16 functions, except that the initial value is set to 0xFFFF. Test values were verified using pycrc, and other test strings were verified from developer documentation for the ReefNet Sensus device I'm working with (though not included in test/crc.js).

underbluewaters commented 12 years ago

Anything I can do to encourage the integration of these changes?

alexgorbatchev commented 12 years ago

Thank you for contributing!

underbluewaters commented 12 years ago

Sweet, first successful pull request :)

alexgorbatchev commented 12 years ago

haha! ever-ever? congratz! glad i was your first one ;)

jksdua commented 10 years ago

Any reason why this doesn't exist in the latest version?