Signature verification, fix keypair constructor, cleanup.

The advice that I know is if you want a random number, never ever remove any special cases. Then again, _hash should probably not go into the generation of the random number. Why does it?