code: func Sha1(c interface{}, version int) []byte {
  	sum := sha1.Sum(Dump(c, version))
  	return sum[:]
  }
docs: // Sha1 takes a data structure and returns its sha1 hash.
  // This is a shorthand for sha1.Sum(Dump(c, version)).