API encrypt file PDF with Python
100K+
API for encrypt file PDF.
Make sure your uesed python3 and clone this repository
1. cd src
2. pip install -r requirements.txt
3. python app.py
docker-compose up -d --build
This project we used Black
pip install black
Endpoint: /encrypt-pdf
Method: POST
| Parameter | Description |
|---|---|
| file | File for encrypt (.pdf only) |
| password | your key for encrypt file |
// add env for production
FLASK_ENV = production
If your PDF file size > 1MB. you must compress file before call API encrypt for reduces size and response time 😎
Content type
Image
Digest
Size
32.8 MB
Last updated
over 6 years ago
docker pull 20scoops/encrypt-file-pdf