How to Decrypt xml file in ionic?


#1

Hi All,

I am looking to implement Decrypt functionality in my Ionic 2 app. I have an xml file that is encrypted by any third party tool.
Now I need to decrypt this file and render the content in my ionic 2 app.

I already implemented this in iOS by generated key (using password and salt key).but not able to do this in ionic 2.

Kindly anyone help me regarding the same by suggesting any library or framework.


#2

This all depends on how this file is encrypted.
What libary did you use on iOS?


#3

Used AES Encryption/Decription technique.


#4

Well find a javascript library that suits your needs.

There is a list here:

And then its a matter of implementing it.