this notebook explains how an anti-SPAM schema would work using a variant of the hashcash algorithm. click here to read.