Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
Adobe Summit 2023 | Complete list of AEM Sessions & Labs
SOLVED

Using Cripto.js inside a xfa form

Avatar

Level 1

Hi Guys,  Do you know if cripto.js or any js encryption library can be used inside a PDF XFA in order to use SHA 1 to encrypt some data fields in the form and add the result to a PDF417 Barcode? 

I know that we can implement js in LC Designer using the script object: http://help.adobe.com/en_US/livecycle/11.0/DesignerScriptingBasics/WS92d06802c76abadb39b5236b129f691...

but I don't know if this will work with complex JS functions...? 

Thanks in advance for your help,

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

you can start with these examples to encrypt data in your form.

LiveCycle Blog: SHA512

View solution in original post

4 Replies

Avatar

Correct answer by
Level 10

Hi,

you can start with these examples to encrypt data in your form.

LiveCycle Blog: SHA512

Avatar

Level 1

Thanks a lot! I will write to the blog author since the link to the base64 encoding form is broken.

Anyway thanks for your answer!

Carlos