From fbc2c162d5c00281a8212eeb1bac3743ff9ff209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Tue, 14 Oct 2025 09:12:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=94=9F=E6=88=90=E9=9A=8F=E6=9C=BAmd5?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- op_string/tool.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/op_string/tool.go b/op_string/tool.go index c57c893..ad7c042 100644 --- a/op_string/tool.go +++ b/op_string/tool.go @@ -72,6 +72,12 @@ func Md5(str string) define.StringResult { } } +// RandomMd5 生成随机字符串MD%值 +func RandomMd5() define.StringResult { + str := Random(64, "") + return Md5(str) +} + // ClearChar 清理指定字符 func ClearChar(str string, charList ...string) string { if len(charList) == 0 {