Function
NewSHA1
NewSHA1 returns a new SHA1 (Version 5) UUID based on the supplied name space and data. It is the same as calling: NewHash(sha1.New(), space, data, 5)
(space UUID, data []byte)
Source from the content-addressed store, hash-verified
| 55 | // |
| 56 | // NewHash(sha1.New(), space, data, 5) |
| 57 | func NewSHA1(space UUID, data []byte) UUID { |
| 58 | return NewHash(sha1.New(), space, data, 5) |
| 59 | } |