Tell us what’s happening:
For this challenge, I wrote: bcrypt.hash(myPlaintextPassword, saltRounds, (err, hash) => {
console.log(hash)
bcrypt.compare(myPlaintextPassword, hash, (err, res) => {
console.log(res)
})
})
My output is a hash and a true. The testing result shows tests completely. However this is not passing the challenge. I really want to know why! Thank you!!
###Your project link(s)
solution: https://fcc-infosec-bcrypt-r01f.onrender.com
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Challenge Information:
Information Security with HelmetJS - Hash and Compare Passwords Asynchronously