code: func ComputeSHA256(data []byte) (hash []byte) {
  	hash, err := factory.GetDefault().Hash(data, &bccsp.SHA256Opts{})
  	if err != nil {
  		panic(fmt.Errorf("Failed computing SHA256 on [% x]", data))
  	}
  	return
  }
docs: // ComputeSHA256 returns SHA2-256 on data