@ -8,6 +8,7 @@
- string:优化
- string:增加 `ToString` 方法
- string:增加 `Contains` 方法
- md5:增加 `Get16MD5EncodeToUpper` 方法
## v1.0.39 / 2021-12-27
@ -47,3 +47,8 @@ func GetMD5Encode(data string) string {
func Get16MD5Encode(data string) string {
return GetMD5Encode(data)[8:24]
}
// Get16MD5EncodeToUpper 返回一个16位md5加密后的大写字符串
func Get16MD5EncodeToUpper(data string) string {
return strings.ToUpper(Get16MD5Encode(data))