require("./rolldown-runtime-D_mwlA32.cjs");
let crypto = require("crypto");
//#region src/util/createHash.ts
function sha256(value) {
	return (0, crypto.createHash)("sha256").update(value).digest("hex");
}
function randomSequence(length = 3) {
	const characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
	let result = "";
	for (let i = 0; i < length; i++) result += characters.charAt(Math.floor(Math.random() * 62));
	return result;
}
//#endregion
Object.defineProperty(exports, "randomSequence", {
	enumerable: true,
	get: function() {
		return randomSequence;
	}
});
Object.defineProperty(exports, "sha256", {
	enumerable: true,
	get: function() {
		return sha256;
	}
});

//# sourceMappingURL=createHash-CF9Ylxcw.cjs.map