Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Adobe campaign Recipient crypted id - expiration

Avatar

Avatar
Validate 1
Level 4
somasundaramhal
Level 4

Likes

73 likes

Total Posts

71 posts

Correct Reply

12 solutions
Top badges earned
Validate 1
Shape 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 4
somasundaramhal
Level 4

Likes

73 likes

Total Posts

71 posts

Correct Reply

12 solutions
Top badges earned
Validate 1
Shape 1
Boost 50
Boost 5
Boost 3
View profile
somasundaramhal
Level 4

21-08-2019

Team,

I checked and see that, there is a field in recipient called 'cryptedId' in AC console. I see that, this is generated using 'AESEncrypt(@id)' function. I want to know what is the expiration time for this value?

Because we're using this recipient id when we're sending link in the email delivery.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Contributor
MVP
wodnicki
MVP

Likes

923 likes

Total Posts

1,050 posts

Correct Reply

492 solutions
Top badges earned
Contributor
Shape 1
Give Back 100
Give Back 50
Give Back 25
View profile

Avatar
Contributor
MVP
wodnicki
MVP

Likes

923 likes

Total Posts

1,050 posts

Correct Reply

492 solutions
Top badges earned
Contributor
Shape 1
Give Back 100
Give Back 50
Give Back 25
View profile
wodnicki
MVP

21-08-2019

Hi,

AES encryption doesn't expire. I'm unaware of any hashing functions that expire.

If you want to expire cryptedId's, you can reload the data in recipient table. This will destroy information related to the id's, comprising the tables in this pic, along with any custom tables that use @recipient-id:

Thanks,

-Jon

Answers (4)

Answers (4)

Avatar

Avatar
Contributor
MVP
wodnicki
MVP

Likes

923 likes

Total Posts

1,050 posts

Correct Reply

492 solutions
Top badges earned
Contributor
Shape 1
Give Back 100
Give Back 50
Give Back 25
View profile

Avatar
Contributor
MVP
wodnicki
MVP

Likes

923 likes

Total Posts

1,050 posts

Correct Reply

492 solutions
Top badges earned
Contributor
Shape 1
Give Back 100
Give Back 50
Give Back 25
View profile
wodnicki
MVP

05-09-2019

Hi,

What you have there is correct, though the escapeUrl() call is superfluous.

If you're trying to expire access, you can encrypt the current time with the id, then check it when loading the page, in link:

<a href="http://server/webForm/APP264?&id=<%= AESEncrypt(new Date().getTime() + ',' + recipient.id) %>">

Then after decrypting, split the value and check whether current time exceeds expiration threshold:

var timeId = decrypted.split(',');

if (timeId[0] < new Date().getTime() - DAYS_AGO * 86400 * 1000) logError(...);

Thanks,

-Jon

Avatar

Avatar
Validate 1
Level 4
somasundaramhal
Level 4

Likes

73 likes

Total Posts

71 posts

Correct Reply

12 solutions
Top badges earned
Validate 1
Shape 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 4
somasundaramhal
Level 4

Likes

73 likes

Total Posts

71 posts

Correct Reply

12 solutions
Top badges earned
Validate 1
Shape 1
Boost 50
Boost 5
Boost 3
View profile
somasundaramhal
Level 4

05-09-2019

Hi Jon,

Thanks so much for your reply. Our client wanted to know the following things.

- Do we have expiration for the crypted id?

- Do we have any other method for encryption other than AES encryption method.

We checked in Adobe Campaign and see that,

- Each time when we send a link with recipient id, for each delivery, that will create a new crypted id for each recipient. That's the reason we raised this question here.

Thanks for your help!

Avatar

Avatar
Validate 250
Level 10
pablo_rosero1
Level 10

Likes

81 likes

Total Posts

348 posts

Correct Reply

77 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile

Avatar
Validate 250
Level 10
pablo_rosero1
Level 10

Likes

81 likes

Total Posts

348 posts

Correct Reply

77 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile
pablo_rosero1
Level 10

03-09-2019

Thanks for your help, Jon. Check it out!

Avatar

Avatar
Validate 1
Level 4
somasundaramhal
Level 4

Likes

73 likes

Total Posts

71 posts

Correct Reply

12 solutions
Top badges earned
Validate 1
Shape 1
Boost 50
Boost 5
Boost 3
View profile

Avatar
Validate 1
Level 4
somasundaramhal
Level 4

Likes

73 likes

Total Posts

71 posts

Correct Reply

12 solutions
Top badges earned
Validate 1
Shape 1
Boost 50
Boost 5
Boost 3
View profile
somasundaramhal
Level 4

21-08-2019

Thanks Jon.

We're using the following to personalize the link.

<a href="http://server/webForm/APP264?&id=<%=escapeUrl(recipient.cryptedId) %>"> (reference:Publishing a web form  )

Is there any other methodology for the encryption other than AESEncrypt(@id)? What are the other methods that Adobe uses for encryption?