mirror of
https://github.com/barkeser2002/anonfilestr.git
synced 2026-09-25 03:49:56 +03:00
5 lines
117 B
JavaScript
5 lines
117 B
JavaScript
import crypto from "crypto";
|
|
|
|
export const randomId = (length = 16) =>
|
|
crypto.randomBytes(length).toString("hex");
|