Expand my Community achievements bar.

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

Avatar

Level 10

Hi Carlos,

I've fixed the broken links.

Avatar

Level 1

Thank you very much!!!! So you are the author !!!!!