mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
3 lines
117 B
TypeScript
3 lines
117 B
TypeScript
import crypto from "crypto";
|
|
|
|
export const genRandom = (bytes=8) => crypto.pseudoRandomBytes(bytes).toString("hex");
|