Cordova safe error to decrypt unexpected crypto version 58

I want to decrypt pdf file using Cordova safe but got an error unexpected crypto version 58 anyone know how to solve it ?

How and where is the encryption being performed?

I used plugin file encryption (cordova-safe) and pdf file encrypted using md5 algo in php and i want to decrypt that file in ionic app end I use this code :
var safe =,

  safe.decrypt('file:/storage/emulated/0/DCIM/myFile.pdf', 'secretPassword', function success(decryptedFile) {
          console.log('decrypted file:success ' + decryptedFile);
  }, function error(err) {
    console.log('Error with cryptographic operation decrypt'+" " + err);

I think you shouldn’t be near anywhere encryption, so somebody else is going to have to continue this conversation.