Files
openclaw/src/agents/sandbox/hash.ts
2026-02-16 04:33:47 +01:00

6 lines
159 B
TypeScript

import crypto from "node:crypto";
export function hashTextSha256(value: string): string {
return crypto.createHash("sha256").update(value).digest("hex");
}