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)
| 47 | // |
| 48 | // NewHash(md5.New(), space, data, 3) |
| 49 | func 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: |