Documentation ¶
Overview ¶
the core checksum implements of md5, sha1, sha224, sha256, sha384, sha512.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareChecksum ¶
read the file contains the checksum and check it
files: file name lists which contains the checksums.
t: the type of checksum, md5 or sha1...
return true if everything is ok
return false if there are some errors.
func GenerateChecksum ¶
generate the checksum for given file list.
files: the file name lists to generate checksum
t: the type of checksum, md5 or sha1...
return false if there are some errors.
return true if there is no error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.