Decode Mongo Base64 Encrypted Xml Data String

How to display base64 encrypted xml data string into the MongoDB query ?

Automation Senario:

Shell Script to call Mongodb query from different collections to generate reports with desire interval and sent report as attachments

Blocker:

The export of encrypted xml file data into excel report in attachments with non-encrypted strings

Below code help to do the encryption.

Home