Avatar

Correct answer by
Community Advisor

Hi Nitesh,

 

Create your libraries in a perso blocks. Call your blocks at the beginning of your deliveries and then you can used function as in the url below

 

<%@ include view='AesLibrary' %> --> crypto js library
<%@ include view='AesModeOfOperation' %> --> crypto function (cbc, etc,)

 

href="http://xxxx.com/email_unsubscribe.aspx?email=<%= cbcEncrypt(recipient.targetData.email) %>&source=ACC"

 

Thanks,

David

View solution in original post