Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to encrypt/ hide a code in pdf?

New Here ,
Jan 31, 2022 Jan 31, 2022

i want to encrypt/ hide a javasctipt code in pdf so others can't see the code.

 

can i do this task?

TOPICS
Create PDFs , Edit and convert PDFs , JavaScript , PDF forms
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 31, 2022 Jan 31, 2022

Use this tool:

https://obfuscator.io/ 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 01, 2022 Feb 01, 2022

No, your code can be viewed in seconds. And obfuscation can be unravelled. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 01, 2022 Feb 01, 2022

"obfuscator.io"

Don't do this unless you have complete control over the document distribution environment, a PDF containing obfuscated JavaScript is systematically detected as "malicious" by anti-virus software and email servers, and therefore eliminated.


Acrobate du PDF, InDesigner et Photoshoptographe
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 01, 2022 Feb 01, 2022

"No, your code can be viewed in seconds. And obfuscation can be unravelled."

Taking over a script created by someone else is always difficult, even if it is well commented and the variables are carefully named.
So taking over a script without comments and with anonymous variables is not impossible but I wish you good luck, in general it is faster to recreate one yourself.


Acrobate du PDF, InDesigner et Photoshoptographe
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 01, 2022 Feb 01, 2022
LATEST

In my documents I minimize the JavaScripts (https://www.toptal.com/developers/javascript-minifier), in order to make them difficult to decrypt without triggering antivirus software.

When I have reasons to be suspicious, I add kilometers of useless code to drown the essential in the mass.

In French we said "Noyer le poisson" (Drown the fish).

 


Acrobate du PDF, InDesigner et Photoshoptographe
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines