Encryption in Mulesoft Example
Encryption in Mulesoft Example Raml for encryption and decryption API: After importing raml a mule configuration file is generated with HTTP listener and endpoints: Here is the encryption component configuration like: We are getting id to be encrypted from decryptedId param in the request body. We are using message enricher to set the target payload from encryption component to the flowVar id. After that we i am getting the decrypted id from flowVar id ans set it in the payload as response. API Response: Request ans Response will be like as if we hit from Postman: XML Configuration : <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:dw="http://www.mulesoft.org/schema/mule/ee/dw" xmlns:encryption="http://www.mulesoft.org/schema/mule/encryption" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns="http://www.mulesoft.org/s...