代码如下:
package main import ( "crypto/md5" "fmt" "io" ) func main() { h := md5.New() io.WriteString(h, "welcome to jb51.net") fmt.Printf("%x", h.Sum(nil)) }
原创文章,作者:QAGWW,如若转载,请注明出处:https://www.beidanyezhu.com/a/28212.html
代码如下:
package main import ( "crypto/md5" "fmt" "io" ) func main() { h := md5.New() io.WriteString(h, "welcome to jb51.net") fmt.Printf("%x", h.Sum(nil)) }
原创文章,作者:QAGWW,如若转载,请注明出处:https://www.beidanyezhu.com/a/28212.html