Encrypting Strings in Mendix

Hello I would like to encrypt strings in my domain model   then retrieve the encrypted string ( unencrypted ) using XPath   is this possible? and what other methods or ways to implement such functionality?   What I have tried is to use Encryption Module to Encrypt the strings in a microflow then another microflow to retrieve – decrypt – show data   
1 answers

It is not possible in the retrieve-activity using xpath to also do the decryption in one go. Your solution is the best way.