Files
varo-website/src/util/random.ts
bytedream 60f3f8a096
Some checks failed
deploy / build-and-deploy (push) Failing after 21s
initial commit
2025-05-18 13:16:20 +02:00

6 lines
145 B
TypeScript

import * as crypto from 'crypto';
export function generateRandomString(length: number) {
return crypto.randomBytes(length).toString('hex');
}