0
votes

I have got two application where one application receives the xml request and encrypt the field password and send the xml request to another application.

Another application receives the xml request and decrypt the field password using the same key.Is it possible to achieve it in Mule 4 without using java component. My request looks like below:

<test>
    <username>camel</username>
    <password>abcdef</password>
</test>

I think we could do this using this module (https://docs.mulesoft.com/mule-runtime/4.3/dw-crypto).I could see the examples for encrypting not for decrypting. It would be great if someone can help me with this request

1

1 Answers

0
votes

The functions provided by the dw-crypto module are for creating digital secure hashes, not for encryption/decryption. Secure hashes are expected to be very difficult to reverse, and of course they are not useful to decrypt at all.

What you need is the Mule 4 Cryptography Module. There are examples of encrypting/decrypting in the documentation.