Discussion posts and replies are publicly visible
You can create a web API that use the plugin and create an integration that consumes the API and put it in the portal if you need a encryption plugin i recommend https://community.appian.com/b/appmarket/posts/encryption-utils
No App Market plugins are compatible with portals.