Create Whirlpool hasher

I totally didn't just steal this. Well, I stole most of it.