const require_rolldown_runtime = require('../../../../../../_virtual/rolldown_runtime.cjs');
let crypto = require("crypto");
crypto = require_rolldown_runtime.__toESM(crypto);

//#region ../../node_modules/samlify/node_modules/uuid/dist/esm-node/sha1.js
function sha1(bytes) {
	if (Array.isArray(bytes)) bytes = Buffer.from(bytes);
	else if (typeof bytes === "string") bytes = Buffer.from(bytes, "utf8");
	return crypto.default.createHash("sha1").update(bytes).digest();
}
var sha1_default;
var init_sha1 = require_rolldown_runtime.__esm({ "../../node_modules/samlify/node_modules/uuid/dist/esm-node/sha1.js": (() => {
	sha1_default = sha1;
}) });

//#endregion
init_sha1();
exports.default = sha1_default;
Object.defineProperty(exports, 'init_sha1', {
  enumerable: true,
  get: function () {
    return init_sha1;
  }
});
//# sourceMappingURL=sha1.cjs.map