Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How can Responsys RPL messagedigest method output as Hex encoding instead of Base64 encoding?

edited Sep 7, 2024 7:14AM in Responsys 1 comment

I was reading the Responsys RPL Reference Guide. On page 275, there is a messagedigest method. It allows the users to select various hashing algorithm, e.g. SHA-256 etc. However, when I select SHA-256, I believe the output encoding is based on Base64 output encoding. But I want the output encoding to be based on Hex output encoding.

As an e.g., for SHA-256 hashing algorithm, when the input is "ABC123", based on Base64 output encoding, the output will be - "4L69IoGZk0JYFIZrYnAeKRnqJvE3BJnBA3tTudScLIo=", and the output will be "e0bebd22819993425814866b62701e2919ea26f1370499c1037b53b9d49c2c8a" if it is based on Hex output encoding.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!