initial commit
This commit is contained in:
7
gen-hash/generate-hash.js
Normal file
7
gen-hash/generate-hash.js
Normal file
@@ -0,0 +1,7 @@
|
||||
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);
|
||||
});
|
||||
Reference in New Issue
Block a user