How To Decrypt AES 256 bit encrypted text in ServiceNow server side ?

Rahul_Dhir0047
Tera Expert

I have a use case where I am connecting DarwinBox to ServiceNow. The API is returning an AES 256 encrypted text. The encryption logic used is CBC. Is there any script which works reliably on server side to decrypt this ? 

i have tried GlideCryptoModule and tried using CryptoJS in servicenow via CDN. But the former doesnt work. and the later is not an updated library which i found. 

Would appreciate if someone can guide me on how to implement this on ServiceNow. 

1 REPLY 1

Ankur Bawiskar
Tera Patron

@Rahul_Dhir0047 

I don't think anything available OOTB for this

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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