code: func (plugin *ExamplePlugin) encryptData(value string, publicKey *rsa.PublicKey) (string, error) {
  	encryptedValue, err := plugin.CryptoData.EncryptData([]byte(value), publicKey)
  	if err != nil {
  		return "", err
  	}
  	return base64.URLEncoding.EncodeToString(encryptedValue), nil
  }
docs: // encryptData first encrypts the provided value using crypto layer and then encodes
  // the data with base64 for JSON compatibility