8 lines
271 B
JavaScript
Executable File
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);
|
|
});
|