cancel
Showing results for 
Search instead for 
Did you mean: 

How can I convert {HEX} values into Base64 encoding string?

Chenyang
Contributor
0 Kudos

Hi Experts,

I am trying to read a picture out of identity store and convert it into Base64 encoding string and pass it on to a third party application.

when the picture is read out in the script, it is something like {HEX}adfljadflajdfa;sdfj, but I assume it is not encoded in Base64. How can I convert this one into Based64 encoded string. There is an IDM internal function  uToBase64, but I don't know how to provide it the correct string to encode?

Please kindly share some light?

Thanks,

Chenyang Xiong

Accepted Solutions (1)

Accepted Solutions (1)

jaisuryan
Active Contributor
0 Kudos

Hi Chenyang,

You can use uFromHex() to get the decoded string and then pass on the value to uToBase64()

Kind regards,

Jai

Chenyang
Contributor
0 Kudos

Thank you Jai for the fast solution, it is working!

Answers (0)