code: func MustNewHash(algo api.HashAlgo) hash.Hash {
  	h, err := NewHash(algo)
  	if err != nil {
  		panic(err)
  	}
  	return h
  }
docs: // MustNewHash as like NewHash, but panics on errors.
  //
  // Appropriate for cases when the hash algo has already been validated.