code: function md5Hash(buf) {
    var md5 = crypto.createHash('md5');
    md5.update(buf);
    return md5.digest('hex');
  }
docs: /*
  Does not use the second argument (tmpPath).
  That argument is only there for custom hash functions.