src/index.js
/**
   * Private method for encrypting the document with generated AES key
   * Decrypt give payload with given AES key
   * @private
   * @ignore
   * @param {String} encryptedFile Encrypted file
   * @return {String} Decrypted File
   */
Private method for encrypting the document with generated AES key
Decrypt give payload with given AES key
@private
@ignore
@param {String} encryptedFile Encrypted file
@return {String} Decrypted File
Private method for encrypting the document with generated AES key Decrypt give payload with given AES key @private @ignore @param { String } encryptedFile Encrypted file @return { String } Decrypted File
decryptWithAES(encryptedFile) {
    const bytes = CryptoJS.AES.decrypt(encryptedFile, this.aesSecret, {
      key: this.aesIv,
    });
    return bytes.toString(CryptoJS.enc.Utf8);
  }
decryptWithAES ( encryptedFile ) { const bytes = CryptoJS . AES . decrypt ( encryptedFile , this . aesSecret , { key : this . aesIv , } ) ; return bytes . toString ( CryptoJS . enc . Utf8 ) ; }
Private method for encrypting the document with generated AES key
 Decrypt give payload with given AES key
 @private
 @ignore
 @param {String} encryptedFile Encrypted file
 @return {String} Decrypted File
Private method for encrypting the document with generated AES key Decrypt give payload with given AES key @private @ignore @param { String } encryptedFile Encrypted file @return { String } Decrypted File