code: func NewHashFromHex(hex string) (hash *Hash, _ error) {
  	h := new(Hash)
  	if err := h.SetHex(hex); err != nil {
  		return nil, err
  	}
  	return h, nil
  }
docs: // NewHashFromHex converts a hex string to a hash value.