Files
hiscaler-gox/cryptox/md5.go

13 lines
164 B
Go
Raw Permalink Normal View History

2025-04-08 19:16:39 +02:00
package cryptox
import (
"crypto/md5"
"encoding/hex"
)
func Md5(s string) string {
h := md5.New()
h.Write([]byte(s))
return hex.EncodeToString(h.Sum(nil))
}