公告板
版本库
filestore
活动
搜索
登录
~cuijin
/
WMS
派生自
aps/WMS
概况
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
1.修改出入库模块的新增、修改、列表,operation_details不再保存产品名称和单位,改为读取material 2.修改报废模块的新增,修改...
jiangshuai
2023-09-25
b28a7f52e8df5889572f86a9422c62c10334f70c
[~cuijin/WMS.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))
}