断点续传 开发中
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user