Method for automatically encrypting and decrypting PDF (Portable Document Format) document

Through the automated encryption and decryption method based on certificates, PDF files are encrypted and decrypted, solving the problems of low security and inconvenient management of existing PDF password encryption methods, and achieving higher file confidentiality and integrity.

CN119691769APending Publication Date: 2025-03-25赛博爱思(上海)软件科技有限公司
0 Cites 0 Cited by

Patent Information

Application Number
CN202411747478.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The existing PDF password encryption methods have problems such as low security, easy password cracking, and inconvenient management, and cannot effectively protect the confidentiality and integrity of the files.

Method used

The automated encryption and decryption method based on certificates is adopted to obtain the public key in the encryption certificate, randomly generate seed values, use RSA encryption to generate ciphertext, splice and generate digest, hash operation to generate passwords, and AES encryption is performed on the stream data in the PDF cross-index table, and the public key and password digits used for encryption are stored in the PDF Root dictionary. The decryption process is the opposite. By obtaining the private key of the certificate, decrypting and generating plaintext, splicing and generating digest, hashing operations to generate passwords, and AES decryption of the stream data in the PDF cross-index table.

Benefits of technology

It realizes secure encryption and decryption of PDF files, ensures the confidentiality and integrity of the files, avoids the problem of passwords being easily cracked and inconveniently managed, and provides higher security.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention discloses a method for automatically encrypting and decrypting a PDF (Portable Document Format) document. The method comprises the following steps: encrypting the PDF document; and the encrypted PDF document is decrypted. The encryption and decryption of the PDF file are realized, and meanwhile, the confidentiality of the PDF file is ensured.
Need to check novelty before this filing date? Find Prior Art