You can achieve this by logic app and function app as follows:
- create a ftp trigger(when the file arrives)
- If it is simple Encode Decode you can use corresponding shape or else you can create one Azure Function under consumption plan(for pricing according to the usage) which has encryption,decryption functionality where the data will be passed from FTP trigger shape.
This requires coding you can develop it by VS Code or Visual studio.
- Then you can do parsing from the output of Azure Function using parse or you can use transform shape for your data formats(XML, JSON etc) and you can use decrypt again using Azure function which you wrote above just different methods inside the same function.
- Finally use the Blob shape to push the output of the Decryption to the blob storage Container.
Logic apps gives you wide usage of connectors making it easy to connect to different artefacts and a workflow approach, you can also use transformation with XSLT, liquid using integration account if needed.
Hope this helps Cheers!!