The Google App Script function computeDigest returns a byte array of the signature. How can I get the string representation of the digest?
I have already tried the b
Just in case this is helpful to anyone else, I've put together a more succinct version of Mogsdad's solution:
function md5(str) {
return Utilities.computeDigest(Utilities.DigestAlgorithm.MD5, str).reduce(function(str,chr){
chr = (chr < 0 ? chr + 256 : chr).toString(16);
return str + (chr.length==1?'0':'') + chr;
},'');
}