Open aim878 opened 3 years ago
var options = { keyLength: 256, password: '12345', outputFile: '', restrictions: { modify: 'none', extract: 'n' } var doc = await qpdf.encrypt(${fileLocation}.pdf, options)
${fileLocation}.pdf
when we tried the output file to edit, it is editable
var options = { keyLength: 256, password: '12345', outputFile: '',
restrictions: {
modify: 'none',
extract: 'n'
}
var doc = await qpdf.encrypt(
${fileLocation}.pdf
, options)when we tried the output file to edit, it is editable