node.js crypto hmac sha256 code example Example: hmac_sha256 node let test = crypto.createHmac('sha256', "key").update("json").digest("base64");