Expand my Community achievements bar.

SOLVED

AES GCM 256 Encryption in Adobe Campaign Classic

Avatar

Level 3

I want to use AES GCM 256 encryption in Adobe Campaign Classic but unable to find any native JS which we can directly use as a library.

 

Tried Below Libraries but no Luck:

--> CryptoJS

--> SJCL

 

Need help if anyone has tried or came across this problem

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

SJCL has a GCM mode:

https://github.com/bitwiseshiftleft/sjcl/blob/cc887b518c026407e4ad11ecef37ad9e40d4bd40/core/gcm.js

 

You can also use encrypt with execCommand() or via an external API if JS isn't an option.

 

Thanks,

-Jon

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

 

SJCL has a GCM mode:

https://github.com/bitwiseshiftleft/sjcl/blob/cc887b518c026407e4ad11ecef37ad9e40d4bd40/core/gcm.js

 

You can also use encrypt with execCommand() or via an external API if JS isn't an option.

 

Thanks,

-Jon