Signature verification, fix keypair constructor, cleanup.

Is it intended that the mesasge equals the secret?