Comments (7)
The constant 0x1EDC6F41 is what I find when I search for CRC32C. That seems right.
from crc.
@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.
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.
Any progress on this?
from crc.
:crc_32c
is supported under TattdCodeMonkey/crc@single as mentioned in #13
iex> CRC.crc(:crc_32c, "123456789")
3808858755
from crc.
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.
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)
- Refactor to single CRC NIF HOT 27
- Document hamming distance HOT 2
- NIF compiled as Mach format on Linux HOT 4
- Argument error when encoding a large binary HOT 4
- Write Documentation for CRC.crc usage
- Doesnโt cross-compile for Nerves HOT 5
- Can't start application in directory with spaces in name HOT 8
- compile failed on Win10 with vs2019 v 14.20 HOT 6
- Compilation should happen in `_build` folder rather than `src` folder to support e.g. Nerves HOT 2
- Error compiling crc from MacOS HOT 7
- Nif module not found when running tests HOT 14
- non-NIF CRC algorithm Implementation
- Remove legacy functions
- Cannot compile crc on archlinux HOT 5
- NIF does not compile when `LDFLAGS` are set HOT 1
- Error while compiling crc in alpine linux
- Incorrect Value compared to python binascii crc32? HOT 1
- Error compiling CRC for Nerves with non host target HOT 4
- Add ability to chunk calculation for larger binaries
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crc.