code: function hmac(str, secret = '', encoding = 'hex') {
      return crypto.createHmac('sha256', secret).update(str, 'utf8').digest(encoding);
  }
docs: ****************************************
  【hmac】加密
  ****************************************