Giter Club home page Giter Club logo

Comments (7)

fire avatar fire commented on August 25, 2024 1

The constant 0x1EDC6F41 is what I find when I search for CRC32C. That seems right.

from crc.

TattdCodeMonkey avatar TattdCodeMonkey commented on August 25, 2024

@fire I'm assuming that is the CRC32_C available here: http://www.sunshine2k.de/coding/javascript/crc/crc_js.html

That is one of the online apps I use for verification when adding new algorithms.

With the addition of CRC32 in #11 I should be able to add the correct polynomials etc. I'll look into it after that is merged.

from crc.

potatosalad avatar potatosalad commented on August 25, 2024

pycrc also has crc-32c builtin and the table it generates matches the table shown on the javascript CRC calculator.

You can generate the C source and header with:

./pycrc.py --generate=c --algorithm=tbl --model=crc-32c
./pycrc.py --generate=h --algorithm=tbl --model=crc-32c

from crc.

fire avatar fire commented on August 25, 2024

Any progress on this?

from crc.

potatosalad avatar potatosalad commented on August 25, 2024

:crc_32c is supported under TattdCodeMonkey/crc@single as mentioned in #13

iex> CRC.crc(:crc_32c, "123456789")
3808858755

from crc.

TattdCodeMonkey avatar TattdCodeMonkey commented on August 25, 2024

What he said, it will be in the next minor release. Currently working through incorporating the TattdCodeMonkey/crc@single branch into a release. But that is behind #15 right now in priority.

from crc.

TattdCodeMonkey avatar TattdCodeMonkey commented on August 25, 2024

@fire

iex> CRC.crc(:crc_32c, "123456789")
3808858755

Is now available in v0.8.0 give it a try and let me know if you have any issues

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.