4 lines
No EOL
208 B
JavaScript
4 lines
No EOL
208 B
JavaScript
import { randomBytes } from "crypto";
|
|
export function generateUser (legal) {
|
|
return `${parseInt(randomBytes(4).toString("hex"),16).toString(36)}${parseInt(randomBytes(4).toString("hex"),16).toString(36)}`
|
|
} |