Restructuring the Project
Updating dependencies
This commit is contained in:
5
Backend/src/helper/random.ts
Normal file
5
Backend/src/helper/random.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import { randomBytes } from "crypto";
|
||||
|
||||
export function randomString(length: number) {
|
||||
return randomBytes(length).toString("base64").slice(0, length);
|
||||
}
|
Reference in New Issue
Block a user