switch to sha512 since it's safer than sha1
switch to sha512 since it's safer than sha1

sha512 seems to be faster than sha256 on my 64bit cpu
might make the hash used an option someday

jlabath/fcheck,jlabath/fcheck