Encrypt and Decrypt

Gold Contributor
Gold Contributor

Hi all,

I need to encrypt a datasource and then decrypt it for analisys scope.

 

Using the "Crypto Extension" I correctly see the datasource encrypted but is not useful for me because the MD5 algorithm is not decryptable.

 

How can do this?

Any suggestions?

 

Many thanks

 

 

3 REPLIES 3

Encrypt and Decrypt

Gold Contributor
Gold Contributor

I think maybe using the CryptoJS library and then with the "Set Data Value" extension I can set the encrypted value to the datasource selected

Encrypt and Decrypt

Moderator
Moderator

Hi @stefano75,

 

It's called the Crypto extension because MD5 is a cryptographic hash function, but you are correct that it is not encryption. Hashing is one-way only, encryption is two-way.

 

The problem is, encryption is a very processor-intensive operation, and not best-suited to JavaScript. There are some implementations available, but we do not provide these, because generally they are not required. 

 

If you really need to use encryption, it would be possible to implement a 3rd party Javascript-based encryption algorithm via an extension in TealiumIQ, but I would strongly advise against this.

 

I hope this helps. Sorry it's not better news!

 

Thanks,

 

Craig.

Check out our new Swift integration library for iOS, macOS, tvOS and watchOS: https://github.com/Tealium/tealium-swift with updated
documentation https://community.tealiumiq.com/t5/Swift/tkb-p/swift.

Encrypt and Decrypt

Gold Contributor
Gold Contributor
Many thanks for your reply.

Stefano
Public