md5生产唯一性的值

package main

import (
"crypto/md5"
"encoding/hex"
"github.com/golang/glog"
"strconv"
"time"
)

func md5V(str string) string {
h := md5.New()
h.Write([]byte(str))
return hex.EncodeToString(h.Sum(nil))
}

func main() {
now := time.Now()
for i:=0;i<10;i++{
str:="wilson"+strconv.Itoa(i)
glog.Info(md5V(str))
}
glog.Info(time.Now().Sub(now))
}