createDigest(secret, ...contents) {
const hmac = crypto.createHmac(this.digestAlgorithm, secret);
contents.forEach((content) => hmac.update(Buffer.from(content)));
createDigest(secret, ...contents) {
const hmac = crypto.createHmac(this.digestAlgorithm, secret);
contents.forEach((content) => hmac.update(Buffer.from(content)));