Code@ Questions have Moved!

In an effort to streamline our efforts, Code@ has moved the Questions and Answers section to the Salesforce StackExchange site, which you can find at the following url: http://salesforce.stackexchange.com/questions/tagged/exacttarget. Please be sure to TAG YOUR QUESTIONS with exacttarget, so our partners know specifically what application your question is pertaining to, and our experts can provide you with a more timely response.

We will discontinue support for this section, and will only be monitoring questions at that location. If your question is currently unanswered, feel free to post that same question on StackExchange to the broader community.

Thank you for your understanding!

Home / question / Decrypt example on .NET
Ask A Question

Decrypt example on .NET

0 points
sebastians@takeoffmedia.com's picture

Hi, I've some issues when I try to decrypt (on .NET platform) some attributes encripted and used as a string.
Can somebody show me a decrypt example for the following encrypt using .NET framework?

 

%%[ 

Var @mail, @date, @myCocant, @encData, @link,

Set @mail = emailaddr,

Set @date = Now(),

Set @myConcat = concat(@mail,@date),

Set @encData = EncryptSymmetric(myConcat, "AES", @null, "MyPassword", @null, "0000000000000000", @null, "00000000000000000000000000000000")

Set @link = concat("http://www.mysite.com?token=",@encData)

]%%

<a href="%%= RedirectTo(@link) =%%">LINK</a>

Product Group: 

Comments