断点续传 开发中

This commit is contained in:
pixel
2020-01-21 17:17:34 +08:00
parent 4960e269c0
commit 0603010838
9 changed files with 306 additions and 14 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"encoding/hex"
)
func MD5V(str string) string {
func MD5V(str []byte) string {
h := md5.New()
h.Write([]byte(str))
h.Write(str)
return hex.EncodeToString(h.Sum(nil))
}