2024-10-20 14:39:25 -04:00
|
|
|
import { randomBytes } from "crypto";
|
2024-10-23 22:59:54 -04:00
|
|
|
export default function generateUser (legal) {
|
2024-10-20 14:51:31 -04:00
|
|
|
return `${parseInt(randomBytes(4).toString("hex"),16).toString(36)}${parseInt(randomBytes(4).toString("hex"),16).toString(36)}`
|
2024-10-23 22:51:35 -04:00
|
|
|
}
|