*: Using sha512 instead of sha256

sha512 is faster on 64bit systems than sha256, so prefer it over sha256

fixes #187 
golang godoc style: "ResolveKey resolves a key of ...."
Also, remove the blank line.