Files
scripts/legacy/gen-hash/generate-hash.js
2026-03-08 14:54:52 +00:00

8 lines
271 B
JavaScript
Executable File

const bcrypt = require('bcrypt');
const password = 'Shakkal123!'; // Replace with the exact password you want to use
const saltRounds = 10;
bcrypt.hash(password, saltRounds, (err, hash) => {
if (err) console.error('Error:', err);
else console.log('Hash:', hash);
});