A Python wrapper for Andrew Tridgell's spamsum algorithm
- spamsum is a fuzzy hash specifically designed for hashing email messages
to detect if they are SPAM. The spamsum utility includes the ability to generate the spamsum hash and check a new message against a existing set of hashes to find a match.
pyspamsum is a Python wrapper for the core API of spamsum.
The original spamsum code has been licensed under the terms of the the Perl Artistic License. It has been slightly modified to remove a special case for small window size checksums.
The original code is Copyright Andrew Tridgell <firstname.lastname@example.org> 2002. It forms part of Andrew’s junkcode, and is available here:
The spamsum code in this project is derived from an updated version that was published at Linux.conf.au 2004:
For details on spamsum itself, please see the spamsum README: