Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

HMAC base64 to hex

Marina6
Giga Contributor

Hello everybody! To integrate with a third-party service, I use hmac. With the help of the servicenow, I managed to calculate the hmac only in base64, but I need it in hex. Please tell me how to decode correctly base 64 in hex? GlideStringUtil does not work in my instance.

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

refer below links for help

Converting a base64 string to Hex

https://gist.github.com/vetsin/117cfe99ab0f87c1ac2d5c6387d1f7b4

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thank's! I will try to use this