title: get back a string representation from computeDigest(algorithm, value) byte[]
body: <p>The Google App Script function computeDigest returns a byte array of the signature. How can I get the string representation of the digest?</p>
  
  <p>I have already tried the bin2String() function.</p>
  
  <pre><code>function sign(){     
  var signature = Utilities.computeDigest(Utilities.DigestAlgorithm.MD5, "thisisteststring")
  Logger.log(bin2String(signature));
  }
  
  
  function bin2String(array) {
    var result = "";
    for (var i = 0; i &lt; array.length; i++) {
      result += String.fromCharCode(parseInt(array[i], 2));
    }
    return result;
  }
  </code></pre>
  
  <p>but it puts "" in the Logs</p>