Files
openclaw/src/agents/sandbox/hash.ts
T

6 lines
159 B
TypeScript

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