2022年11月30日

golang 生成MD5、SHA256摘要

摘要: golang生成常用摘要字符串比较简单,简单总结下用的比较多的两种。 method-1 func GenerateMd5(str string) string { // method_1, cannot reset hash := md5.Sum([]byte(str)) return fmt.Sp 阅读全文

posted @ 2022-11-30 11:07 进击的davis 阅读(581) 评论(0) 推荐(0) 编辑

导航