hestia/scripts/generate-secret.ts
2025-01-26 23:10:12 -05:00

6 lines
158 B
TypeScript

import { randomBytes } from 'node:crypto';
console.log('SECRET: ', {
password: randomBytes(16).toString('hex'),
salt: randomBytes(16).toString('hex'),
});