公告板
版本库
filestore
活动
搜索
登录
main
/
speechAnalysis
浙大网新
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
watch preloads file to autoload
yinbangzhong
2024-06-17
db7e3c55cef94793dcc0b651c90e5c8b21b8bcc9
[speechAnalysis.git]
/
pkg
/
encrypt
/
md5.go
1
2
3
4
5
6
7
8
9
10
11
12
13
package encrypt
import (
"crypto/md5"
"encoding/hex"
)
// MD5V md5加密
func MD5V(str []byte, b ...byte) string {
h := md5.New()
h.Write(str)
return hex.EncodeToString(h.Sum(b))
}