// dashboard/src/lib/dream-kb/hash.ts import { createHash } from "node:crypto"; export function sha256Hex(input: string): string { return createHash("sha256").update(input, "utf8").digest("hex"); }