Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

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

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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Thank's! I will try to use this