cordova-plugin-file-encryption
Cordova File Encryption Plugin for Android and iOS.
Install
$ cordova plugin add cordova-plugin-file-encryption
Usage
var encryptor = cordovapluginsfileEncryption key = 'someKey'; { console; safe;} { console;} encryptor;
API
The plugin exposes the following methods:
cordovapluginsfileEncryption;cordovapluginsfileEncryption;
Parameters:
- file: A string representing a local URI
- key: A key for the crypto operations
- success: Optional success callback
- error: Optional error callback