std/pdf/encryptfunctionjsscheller/scrilib

Encrypt a PDF.

Note: encrypting a PDF and password-protecting a PDF are two different things. Learn more here.

Try it
Definition
[ pdf : File encryption : Option<Encryption> password : Option<String> ] -> File
Examples

Lock a PDF using a password.