Documentation ¶
Overview ¶
Package hash returns the hash strings for strings and files
Index ¶
- func GetMD5(text string) string
- func GetMD5FromFile(file os.File) string
- func GetSHA1(text string) string
- func GetSHA1FromFile(file os.File) string
- func GetSHA256(text string) string
- func GetSHA256FromFile(file os.File) string
- func GetSHA512(text string) string
- func GetSHA512FromFile(file os.File) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMD5FromFile ¶
GetMD5FromFile returns the MD5 hash of a file.
func GetSHA1FromFile ¶
GetSHA1FromFile returns the SHA1 hash of a file.
func GetSHA256FromFile ¶
GetSHA256FromFile returns the SHA256 hash of a file.
func GetSHA512FromFile ¶
GetSHA512FromFile returns the SHA512 hash of a file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.