Hi,

I am working on a form created in html and also used Java scripts needed. I  am trying to encrypt a string with the security key i have. On the page load this has to be done. Can i do this using the Velocity Scripting. Or could you please let me know if there is any other way to do the same.

Thanks,
Pavi.

Member Avatar for iamthwee

Always encrypt serverside unless you java and not javaSCRIPT.

Have you googled velocity scripting? What exactly is it?

Ya i did.. I work on Velocity Scripting..which is used for development in the Content Management system. I did find a method in the velocity scripting to encrypt the data.

#set($encry = $util.newEncryptionUtil())
$encry.encryptText("xyz") 

But this doesnot work for me. I think this need some pre requisites.Please do let me know if any one who can work on velocity Scripting.

Thanks,
Pavi.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.