mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01: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");
|