mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
4 lines
117 B
TypeScript
4 lines
117 B
TypeScript
import crypto from "crypto";
|
|
|
|
export const genRandom = (bytes=8) => crypto.pseudoRandomBytes(bytes).toString("hex");
|