User-controlled encryption of input files and decryption of output files
PDF.co API supports strong AES encryption and decryption for input and output files. Supported AES algorithms:AES128- 128-bit encryptionAES192- 192-bit encryptionAES256- 256-bit encryption
- Auto-encrypt output files for further storage locally or on public cloud services like Dropbox, Google Drive, or similar. Even if a middleman were to obtain the link to this encrypted file, they cannot open file content without having your encryption key.
- Auto-decrypt input files generated by 3rd party service or apps like SalesForce, Zapier, Make, or custom Javascript/PHP/NET/Java apps where files were encrypted previously. PDF.co provides a set of encryption and decryption params for compatibility with 3rd party services.
- Auto-decrypt input files and automatically encrypt output files for compatibility with HIPAA or other compliance requirements.
Encryption and decryption options are auto-redacted from API logs for security reasons.
User-Controlled Encryption
User-controlled encryption parameters must be set via theprofiles parameter in JSON format (as a string if you use Zapier or a similar plugin, or as an escaped JSON string if you use direct calls to API).
Sample Profile
DataEncryptionAlgorithm(string) defines AES algorithm to use. Supported values:AES128,AES192,AES256.DataEncryptionKey(string) defines AES encryption key to use. Must use 16 characters forAES128, 24 characters forAES192, 32 characters forAES256.DataEncryptionIV(string) defines AES initialization vector (IV). An initialization vector is used to avoid repetition during the data encryption process, making it impossible for hackers who use a dictionary attack to decrypt the exchanged encrypted message by discovering a pattern. You may think of it as an additional password. Must use 16 characters forAES128, 24 characters forAES192, 32 characters forAES256.
User-Controlled Decryption
User-controlled decryption parameters must be set via theprofiles parameter in JSON format (as a string if you use Zapier or a similar plugin, or as an escaped JSON string if you use direct calls to API).
Sample Profile
DataDecryptionAlgorithm(string) defines AES algorithm to use. Supported values:AES128,AES192,AES256.DataDecryptionKey(string) defines AES decryption key to use. Must use 16 characters forAES128, 24 characters forAES192, 32 characters forAES256.DataDecryptionIV(string) defines AES initialization vector (IV). An initialization vector is used to avoid repetition during the data encryption process, making it impossible for hackers who use dictionary attack to decrypt the exchanged encrypted message by discovering a pattern. You may think of it as an additional password. Must use 16 characters forAES128, 24 characters forAES192, 32 characters forAES256.