Adding a binary version to our module should be pretty easy.
Ok, it's checked in. There is now a function Mail::SpamAssassin::SHA1::sha1bin that is exported along with Mail::SpamAssassin::SHA1::sha1
Both will use Digest::SHA1 if it is available, otherwise a slow pure perl version. Someone should document that Digest::SHA1 is strongly recommended if Bayes SQL is being used.
I also updated t/sha1.t to test it all.
-- sidney
