Avatar

Community Advisor

Hi Badr,

Take care, DES is deprecated crypt algorithm.

Please use cryptString function that uses AES algorithm:

http://docs.campaign.adobe.com/doc/AC/en/jsapi/f-cryptString.html?hl=crypt

and its counterpart, decryptString function.


When it is url, don't forget to encode URL when passing it to a web site.

Sometimes the use case is not symetric algorithm (reversible decrypt) such AES but only hash MD5 or SHA256 (no reversible but usable for comparison), in that case use these functions instead.


Regards
J-Serge