marzooqy/crc-braid

Generalized version of zlib's CRC braiding algorithm

C

1

17 commits

updated Oct 1, 2026

See the code

See what people are saying

SourceMessageScoreDate

I rewrote zlib's CRC algorithm

1

Oct 1, 2026

README

This is a generalized version of the CRC algorithm found in zlib. It accepts any CRC parameters from the RevEng catalogue.

Benchmark

LengthSpeed
100 B1.44
1 KB3.79
10 KB4.63
100 KB4.75
1 MB4.78
10 MB4.66
100 MB4.25

Tested on a 10th generation Intel i7 processor. Measured in GiB/s.

The algorithm is about 50% faster than the slicing algorithm.

References

1- Everything we know about CRC but afraid to forget

2- zlib

crc

marzooqy/crc-braid

Generalized version of zlib's CRC braiding algorithm

C

1

17 commits

updated Oct 1, 2026

See the code

See what people are saying

SourceMessageScoreDate

I rewrote zlib's CRC algorithm

1

Oct 1, 2026

README

This is a generalized version of the CRC algorithm found in zlib. It accepts any CRC parameters from the RevEng catalogue.

Benchmark

LengthSpeed
100 B1.44
1 KB3.79
10 KB4.63
100 KB4.75
1 MB4.78
10 MB4.66
100 MB4.25

Tested on a 10th generation Intel i7 processor. Measured in GiB/s.

The algorithm is about 50% faster than the slicing algorithm.

References

1- Everything we know about CRC but afraid to forget

2- zlib

crc

Languages

C

100.0%