Documentation
¶
Overview ¶
Package ixhash implements the iXhash fuzzy e-mail hashing algorithms and provides facilities for checking iXhash digests against DNS lists.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
All computes all three hashes of the msg, which should be the body of an e-mail (no headers). All returns an array where the FirstHash result is in at index 0, the SecondHash is at index 1, and the ThirdHash is at index 2. If a hash could not be computed, it will be an empty string.
func FirstHash ¶
FirstHash computes the first iXhash digest. FirstHash mutates the provided msg []byte. FirstHash requires that the message contain at least 20 spaces/tabs and at least two newlines.
func SecondHash ¶
SecondHash computes the second iXhash digest. SecondHash mutates the provided msg []byte.
Types ¶
This section is empty.