12 lines
235 B
Go
12 lines
235 B
Go
package utils
|
|
|
|
// // MakeCrc
|
|
// func MakeCrc(s string) uint32 {
|
|
// return crc32.ChecksumIEEE([]byte(s))
|
|
// }
|
|
|
|
// func Md5V(str string) string {
|
|
// h := md5.New()
|
|
// h.Write([]byte(str))
|
|
// return hex.EncodeToString(h.Sum(nil))
|
|
// } |