You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the sync version of BCrypt is a very bad idea. Hashing is specifically designed to take a long time (for security). Doing this synchronously means your server gets blocked on this one line of code until the hashing finishes, unable to handle any other incoming requests. This is one case where it's super important to use the async promise version.
The text was updated successfully, but these errors were encountered:
week6-hihi/source/handlers.js
Line 112 in ddd7b68
Using the sync version of BCrypt is a very bad idea. Hashing is specifically designed to take a long time (for security). Doing this synchronously means your server gets blocked on this one line of code until the hashing finishes, unable to handle any other incoming requests. This is one case where it's super important to use the async promise version.
The text was updated successfully, but these errors were encountered: