MCPcopy Index your code
hub / github.com/TruthHun/BookStack / MD5Sub16

Function MD5Sub16

utils/util.go:845–847  ·  view source on GitHub ↗

截取md5前16个字符

(str string)

Source from the content-addressed store, hash-verified

843
844// 截取md5前16个字符
845func MD5Sub16(str string) string {
846 return cryptil.Md5Crypt(strings.ToLower(str))[0:16]
847}
848
849func JoinURL(rawURL string, urlPath string) string {
850 rawURL = strings.TrimSpace(rawURL)

Callers 4

ReleaseContentMethod · 0.92
BookStackCrawlMethod · 0.92
IsSignUsedFunction · 0.85
CrawlByChromeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected