fix issue #11: hash/truncate terms for plausible deniability 

Forgot to setup the hooks initially, so there's an extra commit in there.