Documentation ¶
Index ¶
- Constants
- func Entropy(path string) (entropy float64, err error)
- func HashMD5(path string) (hash string, err error)
- func HashSHA1(path string) (hash string, err error)
- func HashSHA256(path string) (hash string, err error)
- func HashSHA512(path string) (hash string, err error)
- func IsElfType(path string) (isElf bool, err error)
Constants ¶
View Source
const ( // windows HEaders //MZ Format ImageMZSignature = "4d5a" ImageZMSignature = "5a4d" ImageOS2Signature = "454e" ImageOS2LESignature = "454c" ImageVXDSignature = "584c" ImageTESignature = "5a56" ImageNTSignature = "00004550" // PE00 )
Variables ¶
This section is empty.
Functions ¶
func HashSHA256 ¶
Generates SHA256 hash of a file
func HashSHA512 ¶
Generates SHA512 hash of a file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.