It would depend on how you encrypted the text data.
If you used the standard Mendix Encryption module, then you would probably use the DecryptString Java Action in the Encryption / Private - String en/de-cryption folder.
In this case, the parameters would be
https://docs.mendix.com/appstore/modules/encryption/
Hope this helps.