Information Security with HelmetJS - Hash and Compare Passwords Asynchronously

Why i cant pass the test if async hash be generated and correctly compared?

solution: boilerplate-infosec (4) - Replit

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

Challenge: Information Security with HelmetJS - Hash and Compare Passwords Asynchronously

Link to the challenge:

You are not supposed to be using the boilerplate-infosec repl for these challenges.
You should have switched to the boilerplate-bcrypt repl on the previous challenge.

boilerplate-bcrypt - Replit which problem is now? Console : $2b$12$VWaGcKnHne84yTyUmwZVBuRLQb7aJ1.0gb9SIpyrwvanrixYj/yMG
true

Your code is correct. For FCC testing though, you need to move it down inside the comments.

Thank you for the help

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.