Sum
sum := sha1.Sum([]byte("hello"))
fmt.Printf("%x\n", sum)
crypto/sha1SHA-1 hashing. BROKEN for security. Remains for Git-compatible hashing and legacy protocols.
sum := sha1.Sum([]byte("hello"))
fmt.Printf("%x\n", sum)