Encrypt files

In Ionic app, I would like to encrypt files (PDF, docx etc.) stored on the device (ipad). Is there a plugin that allows to do that?

I tried the cordova-safe plugin (https://github.com/disusered/cordova-safe), however, my app won’t build after I install this plugin.

did you find a solution , if so , can you please share an example

Hi,
Did you get a solution on this ?
I’m very interested in it.
Thanks.