mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-16 22:20:42 +00:00
6 lines
126 B
TypeScript
6 lines
126 B
TypeScript
import crypto from "node:crypto";
|
|
|
|
export function randomToken(): string {
|
|
return crypto.randomBytes(24).toString("hex");
|
|
}
|