diff options
Diffstat (limited to 'backend/hash.js')
-rw-r--r-- | backend/hash.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/backend/hash.js b/backend/hash.js deleted file mode 100644 index e6d3ba5..0000000 --- a/backend/hash.js +++ /dev/null @@ -1,9 +0,0 @@ -const bcrypt = require('bcryptjs'); - -const password = 'password123'; -const saltRounds = 10; - -bcrypt.hash(password, saltRounds, function(err, hash) { - if (err) throw err; - console.log('Hashed password:', hash); -}); |