Hello.
We currently need to encrypt/decrypt some data in ACS for privacy purpose between system.
We will need to send an email, with a link in it.
This link got the email encrypted in aes format with cbc.
ACS currently gor some functions that can encrypt data ( encryption_aescbcEncrypt )
We did use this function with all the required parameter, but the output cannot be decypher by anyone ( all tools used cannot get back the original value).
if i use this example :
encryption_aescbcEncrypt('TEST',"\x656e6372797074546f6f6c7331323334","\x6f0561702db407a325634764f8030519")here's the result i got in ACS : 279432169de85d110dba9989df547b5f
if i use the decrypt tools from those websites ( AES Encryption – Easily encrypt or decrypt strings or files , CyberChef ) , this decrypt to something that is wrong :
K | . | ½ | 6 | ¯ | d | Ò | ¶ | . | ( | . | Ä | ¦ | ò | / |
If i use those website to encrypt, both answer are : 3e909d57ce667056636865781948c901
(HEX format for all).
ANyone ever step on that problem?
(on a side note the decryptfunction: encryption_aescbcDecrypt seems to not work eitheir (blank result everytime).
thank you for the help
Solved! Go to Solution.
You should try
encryption_aescbcEncrypt('TEST','\\x656e6372797074546f6f6c7331323334','\\x6f0561702db407a325634764f8030519')
Then it should give you the same value as you stated from the websites
You should try
encryption_aescbcEncrypt('TEST','\\x656e6372797074546f6f6c7331323334','\\x6f0561702db407a325634764f8030519')
Then it should give you the same value as you stated from the websites
Views
Replies
Total Likes
How about decryption of the encrypted value?
Views
Replies
Total Likes
I also had the same problem while encryption and decryption in Adobe campaign standard and followed the solution that is provided in this conversation and it worked .
To encrypt :
To De-crypt :
encryption_aescbcDecrypt('encryptedvalue','\\x656e6372797074546f6f6c7331323334','\\x6f0561702db407a325634764f8030519')
In the document it is written as to add x in prior to the encrypted value but I checked and found that there is no need to do this .
Thanks
Debanjana
Views
Replies
Total Likes
Views
Likes
Replies