Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC:

PDF Encryption 7 years 9 months ago #10881

  • apdeveloper
  • apdeveloper's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 67
  • Thank you received: 0
Hi,

This is with regard to the PDF encryption functionality as given in the link provided by you:
www.radaeepdf.com/support/knowledge-base...component&kbartid=30

The Password used for PDF encryption in the line - [m_doc encryptAs:docPath :@"user" :@"admin" :0x4 :4 :&c];
i.e. User Password - "user" , Owner Password - "admin" is not working for opening the encrypted PDFs.

Request you to kindly provide us with the Password for the same, if it is not the one as specified above.

Please Log in or Create an account to join the conversation.

PDF Encryption 7 years 9 months ago #10883

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Hi,

please be sure to call [m_doc open....] if you are trying to encrypt a closed document and use a valid license: for encryption you need a premium license.

Please Log in or Create an account to join the conversation.

PDF Encryption 7 years 9 months ago #10890

  • apdeveloper
  • apdeveloper's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 67
  • Thank you received: 0
Dear Emanuele,

We are encrypting the opened document itself. However, we are unable to open the document.

Kindly let us know as to what is the password to be entered to open the encrypted PDF since the User Password - "user" and Owner Password - "admin" is not working.

Please Log in or Create an account to join the conversation.

PDF Encryption 7 years 9 months ago #10902

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
Hi,

can you share the slice of code used to encrypt the file?
If the Premium license is correctly activated and the encryption method returns true, you should be able to open the encrypted file with the chosen passwords.
The following user(s) said Thank You: apdeveloper

Please Log in or Create an account to join the conversation.

PDF Encryption 7 years 6 months ago #11332

  • apdeveloper
  • apdeveloper's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 67
  • Thank you received: 0
Can u Please confirm on which Algorithm is used for the encryption?

Please Log in or Create an account to join the conversation.

PDF Encryption 7 years 6 months ago #11334

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
Encryption is AES128bit.
We support also 256bit (level8) but you should pay attention: PDF1.7 standard officially support only the 128bit version as the 256 was affected by a weakness in the key handling.

PDF1.8level8 introduced again the 256bit version but may PDF viewer doesn't support it as it introduces a different way to encrypt streams.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum