hmac_sha256 node

JavaScript
let test = crypto.createHmac('sha256', "key").update("json").digest("base64");

Source

Also in JavaScript: