Documentation ¶
Index ¶
- Variables
- func DataHash10(data []byte) (shasum string, err error)
- func DataHash64(data []byte) (shasum string, err error)
- func DataHashSha1(data []byte) (shasum string)
- func FileHash10(path string) (shasum string, err error)
- func FileHash64(path string) (shasum string, err error)
- func VerifyFile64(sum, file string) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RxShasum64 = regexp.MustCompile(`^([a-f0-9]{64})$`) RxShasum10 = regexp.MustCompile(`^([a-f0-9]{10})$`) )
Functions ¶
func DataHash10 ¶
func DataHash64 ¶
func DataHashSha1 ¶
func FileHash10 ¶
func FileHash64 ¶
func VerifyFile64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.