ServiceNow getMD5Hex function
ServiceNow Blog
·
Apr 28, 2026
·
article
getMD5Hex is a function commonly found in utility libraries (such as Apache Commons Codec) that calculates the MD5 hash of data (like a string or file) and returns the result as a 32-character hexadecimal string
Example:
var sname = 'Joe Bloggs';
var value = new GlideDigest().getMD5Hex(sname.toLowerCase());
gs.info ('result==='+value);
ServiceNow
View original source
http://www.cloudminus89.com/2026/04/servicenow-getmd5hex-function.html