init commit

This commit is contained in:
2025-09-27 10:17:16 +08:00
commit 7eee7bcd3b
1022 changed files with 78271 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package md5
import (
"crypto/md5"
"encoding/hex"
)
func Sign(content string) string {
h := md5.New()
h.Write([]byte(content))
return hex.EncodeToString(h.Sum(nil))
}