"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.sha256 = void 0;
const sha_js_1 = __importDefault(require("sha.js"));
function sha256(buffer) {
    return (0, sha_js_1.default)("sha256").update(buffer).digest();
}
exports.sha256 = sha256;
//# sourceMappingURL=index.js.map