"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.sha256 = void 0;var _crypto = require("crypto");

const sha256 = data => {
  const hash = (0, _crypto.createHash)('sha256');
  hash.write(data);
  return hash.digest().toString('hex');
};exports.sha256 = sha256;