code: func sha1Hash(slices [][]byte) []byte {
  	hsha1 := sha1.New()
  	for _, slice := range slices {
  		hsha1.Write(slice)
  	}
  	return hsha1.Sum(nil)
  }
docs: // sha1Hash calculates a SHA1 hash over the given byte slices.