func main() {
arr := md5.Sum([]byte("hello world"))
// 乱码
log.Println(string(arr[:]))
toString := hex.EncodeToString(arr[:])
log.Println(toString)
}
阅读 1538 · 发布于 2021-07-18
———— END ————
Give me a Star, Thanks:)
https://github.com/fendoudebb扫描下方二维码关注公众号和小程序↓↓↓