SDK

Low-Code

Workflow

DWS API

iOS Code Samples

Encrypt & Decrypt a PDF using Swift for iOS

Encrypt a document with a key generated from a passphrase, and use the same passphrase to later decrypt it. Get additional resources by visiting our guide on PDF document security in iOS or our PSPDFCryptor API Guide.

Get Started All Samples Download Launch Demo
Information

This code sample is an example that illustrates how to use our SDK. Please adapt it to your specific use case.