code: func computeHash(msg []byte) ([]byte, error) {
  	h, err := cryptosuite.GetDefault().Hash(msg, cryptosuite.GetSHA256Opts())
  	if err != nil {
  		return nil, errors.WithMessage(err, "failed to compute tls cert hash")
  	}
  	return h, err
  }
docs: //computeHash computes hash for given bytes using underlying cryptosuite default