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) string
GetMD5 returns the MD5 hash of a string.
func GetMD5FromFile(file os.File) string
GetMD5FromFile returns the MD5 hash of a file.
func GetSHA1(text string) string
GetSHA1 returns the SHA1 hash of a string.
func GetSHA1FromFile(file os.File) string
GetSHA1FromFile returns the SHA1 hash of a file.
func GetSHA256(text string) string
GetSHA256 returns the SHA256 hash of a string.
func GetSHA256FromFile(file os.File) string
GetSHA256FromFile returns the SHA256 hash of a file.
func GetSHA512(text string) string
GetSHA512 returns the SHA512 hash of a string.
func GetSHA512FromFile(file os.File) string
GetSHA512FromFile returns the SHA512 hash of a file.
Made by the awesome contributors of @gomjw · Maintainer @MarvinJWendt · Readme template version: 1.1.0