Files
openclaw/src/commands/random-token.ts
2026-04-13 19:21:01 +01:00

6 lines
126 B
TypeScript

import crypto from "node:crypto";
export function randomToken(): string {
return crypto.randomBytes(24).toString("hex");
}