"use strict";

var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
_Object$defineProperty(exports, "__esModule", {
  value: true
});
exports.default = sha256Hash;
var _jsSha = require("js-sha3");
// Copyright © 2020 Interplanetary Database Association e.V.,
// Planetmint and IPDB software contributors.
// SPDX-License-Identifier: (AGPL-3.0-or-later AND CC-BY-4.0)
// Code is AGPL-3.0-or-later and docs are CC-BY-4.0

/* eslint-disable camelcase */

function sha256Hash(data) {
  return _jsSha.sha3_256.create().update(data).hex();
}
/* eslint-enable camelcase */
//# sourceMappingURL=sha256Hash.js.map