/reportlab2

This is a fork of reportlab with support for AES256 encryption

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

This repository is a fork of reportlab 3.6.11 with faster (2X-3X) AES-256 PDF encryption

pip install reportlab2

Example:

from reportlab.pdfgen import canvas

c = canvas.Canvas("encrypted.pdf")
c.drawString(100, 750, "Hello")
c.showPage()
c.setEncrypt("password")
c.save()