/sumcoll

Tool for finding suffixes that cause the bsd `sum` utility to return 0

Primary LanguagePython

The unix `sum` utility performs a simple checksum.

For more information about this, see
https://mcpherrin.ca/2019/11/23/sum-collisions.html

sum.py contains an implementation of BSD sum
attack.py contains an attack on the algorithm as described in the above blog post.

old/ contains a less-general version of the tool written in C.