Code Monkey home page Code Monkey logo

crc's Introduction

CRC implementation in Java

This project contains Java implementation for several CRC algorithms: byte-by-byte (Sarwate's algorithm), Slicing-by-8, Slicing-by-16.

I intend to port Interleaved Word By Word algorithm from crcutil, but performance might be worse than the other algorithms in Java. That algorithm is more suitable for C/C++ where we have native access to the data stream.

Also it contains a factory which, based on JDK will try to provide the appropiate implementation. This project was build for educational purposes and is far from being complete.

References and resources

  1. Sarwate, D.V., "Computation of Cyclic Redundancy Checks via Table Look-Up", Communications of the ACM, 31(8), pp.1008-1013, 1988.

  2. Andrew Kadatch and Bob Jenkins. High performance CRC implementation, 2010.

  3. Mark Adler. crcany and crcgen - Compute any CRC and generate C code for any CRC definition.

  4. Mark Adler. How CRC combine works.

  5. Ross Williams. A PAINLESS GUIDE TO CRC ERROR DETECTION ALGORITHMS, 1993.

  6. Greg Cook. Catalogue of parametrised CRC algorithms.

  7. Highly optimized CRC32C lib and benchmark.

  8. Michael E. Kounavis and Frank L. Berry. A systematic approach to building high performance, software-based, CRC generators, 2005. Slicing-by-4, Slicing-by-8. original link. (Slicing-by-4, Slicing-by-8).

  9. Nicolai Stange. Combining and splitting CRCs, 2015.

  10. Intel. Choosing a CRC polynomial and associated method for Fast CRC Computation on Intel® Processors, 2012.

  11. Intel. Fast CRC Computation for iSCSI Polynomial Using CRC32 Instruction, 2011.

  12. Intel. Fast CRC Computation for Generic Polynomials Using PCLMULQDQ Instruction, 2009.

  13. Intel. PCLMULQDQ Based CRC PoC.

  14. Anton Blanchard. Accelerated CRC32 for POWER8 using vpmsum instructions.

  15. Linux kernel x86 SSE4.2 PCLMULQDQ and CRC32.

  16. Linux kernel ARMv8 PMULL/NEON and CRC32/CRC32C - port of Intel's SSE4.2 algorithm.

  17. Linux kernel POWER8 VPMSUM CRC.

  18. Linux kernel SPARC CRC32C.

  19. Linux kernel IBM/Z VGFMAG.

  20. CRC Polynomials Evaluation Software.

  21. Generate Verilog or VHDL code for CRC. CRC Generation Tool.

  22. Philip Koopman, Carnegie Mellon University. CRC Polynomials Evaluation Software.

  23. Fast CRC table construction and rolling CRC hash calculation.

  24. Fast CRC32.

crc's People

Contributors

csoroiu avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.