_hash(algorithm, ...buffers) {
        algorithm = algorithm.toLowerCase();
        const hashes = crypto.getHashes();
        if (hashes.indexOf(algorithm) < 0) throw new Error(`Hash algorithm '${algorithm}' not supported!`);

        const hash = crypto.createHash(algorithm);
        hash.update(Buffer.concat(buffers));
        return hash.digest();
    }
Calculate a hash of the concatenated buffers with the given algorithm.
@param {string} algorithm - The hash algorithm.
@param {Array.<Buffer>} buffers - The buffers to concat and hash
@returns {Buffer} The hash
@private