Package hash returns the hash strings for strings and files
go get -u github.com/gomjw/hash/...import "github.com/gomjw/hash"func GetMD5(text string) stringGetMD5 returns the MD5 hash of a string.
func GetMD5FromFile(file os.File) stringGetMD5FromFile returns the MD5 hash of a file.
func GetSHA1(text string) stringGetSHA1 returns the SHA1 hash of a string.
func GetSHA1FromFile(file os.File) stringGetSHA1FromFile returns the SHA1 hash of a file.
func GetSHA256(text string) stringGetSHA256 returns the SHA256 hash of a string.
func GetSHA256FromFile(file os.File) stringGetSHA256FromFile returns the SHA256 hash of a file.
func GetSHA512(text string) stringGetSHA512 returns the SHA512 hash of a string.
func GetSHA512FromFile(file os.File) stringGetSHA512FromFile returns the SHA512 hash of a file.
Made by the awesome contributors of @gomjw · Maintainer @MarvinJWendt · Readme template version: 1.1.0