func ForFile(filename string, hasher hash.Hash) (string, error)
ForFile returns the hex-encoded hash for the provided filename and hasher.
func SHA1ForFile(filename string) (string, error)
SHA1ForFile returns the hex-encoded sha1 hash for the provided filename. TODO: check if we can remove this function
func SHA256ForFile(filename string) (string, error)
SHA256ForFile returns the hex-encoded sha256 hash for the provided filename.
func SHA512ForFile(filename string) (string, error)
SHA512ForFile returns the hex-encoded sha512 hash for the provided filename.