Tell us what’s happening:
I added the bcrypt dependency on package.json and require on server.js file, there is no errors on start but the lesson is not solved.
server.js
var express = require("express");
var app = express();
const bcrypt = require("bcrypt");
app.disable("x-powered-by");
var fs = require("fs");
var path = require("path");
...
package.json
"dependencies": {
"bcrypt": "^5.0.1",
"express": "^4.14.0",
"helmet": "3.21.3"
},
Your project link(s)
solution: https://boilerplate-infosec-4.gisleude.repl.co
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36
Challenge: Understand BCrypt Hashes
Link to the challenge: