*: Using sha512 instead of sha256

sha512 is faster on 64bit systems than sha256, so prefer it over sha256

fixes #187 
Are you trying to preserve backwards compatibility? I think it's too early for that :-)
I would rather be explicit and panic on unknown types at this stage.