code: func SecretHash(sec *v1.Secret) (string, error) {
  	encoded, err := encodeSecret(sec)
  	if err != nil {
  		return "", err
  	}
  	h, err := encodeHash(hash(encoded))
  	if err != nil {
  		return "", err
  	}
  	return h, nil
  }
docs: // SecretHash returns a hash of the Secret.
  // The Data, Kind, Name, and Type are taken into account.