Code Monkey home page Code Monkey logo

Comments (4)

cmcqueen avatar cmcqueen commented on July 28, 2024 1

As far as I understand CCITT-16 encompasses a range of similar configurations…

One source of confusion is, some literature refers to "the CCITT polynomial" (𝑥16 + 𝑥12 + 𝑥5 + 1; 0x1021) only caring about the polynomial itself, without regard to the other parameters that constitute a CRC algorithm. So from that point-of-view, any CRC that uses the "CCITT polynomial" might be confusingly named a CCITT CRC.

Eg Cyclic redundancy check — Polynomial representations (Wikipedia) lists various CRC polynomials including CCITT without other parameters.

Since the Catalogue of parametrised CRC algorithms exists and provides a more precise identification of CRC algorithms, it makes sense to follow its nomenclature.

Will be addressed in 7.0.0

Thanks for that. I appreciate your work to improve this.

from crc.

Nicoretti avatar Nicoretti commented on July 28, 2024

Hi @cmcqueen,

Thanks for reaching out. As far as I understand CCITT-16 encompasses a range of similar configurations, not just one. I wasn't fully aware of this in the past, leading to the current approach. I will address this in the future when releasing the next major version. I'm always a bit cautious about potential breaking changes. For now, I see the best step as improving documentation to mitigate this.

You can find a basic outline of the configurations here:

Acknowledging this isn't ideal, I'm considering creating a MkDocs plugin to enhance the documentation in regard to the CRC configurations.

best
Nico

from crc.

Nicoretti avatar Nicoretti commented on July 28, 2024

Will be addressed in 7.0.0

from crc.

Nicoretti avatar Nicoretti commented on July 28, 2024

Hi @cmcqueen,

thanks for response, yes that's pretty much what happend to me 😅.

best
Nico

from crc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.