import crypto from "crypto-js";

//#region ../@intlayer/webpack/dist/esm/chokidar/dist/esm/utils/getFileHash.mjs
const getFileHash = (filePath) => {
	return crypto.SHA3(filePath).toString(crypto.enc.Base64).replace(/[^A-Z\d]/gi, "").substring(0, 20);
};

//#endregion
export { getFileHash };
//# sourceMappingURL=getFileHash.mjs.map