Hm, maybe I should not be using getattr, and using hashlib.new. Not sure, there.