MCPcopy
hub / github.com/google/uuid / NewMD5

Function NewMD5

hash.go:49–51  ·  view source on GitHub ↗

NewMD5 returns a new MD5 (Version 3) UUID based on the supplied name space and data. It is the same as calling: NewHash(md5.New(), space, data, 3)

(space UUID, data []byte)

Source from the content-addressed store, hash-verified

47//
48// NewHash(md5.New(), space, data, 3)
49func NewMD5(space UUID, data []byte) UUID {
50 return NewHash(md5.New(), space, data, 3)
51}
52
53// NewSHA1 returns a new SHA1 (Version 5) UUID based on the
54// supplied name space and data. It is the same as calling:

Callers 1

TestMD5Function · 0.85

Calls 1

NewHashFunction · 0.85

Tested by 1

TestMD5Function · 0.68