- Understand how bcrypt works to encrypt user passwords
- Set up a form that allows users to sign up/sign in with a password
- Use bcrypt to encode passwords
- Use bcrypt to authenticate passwords
Last class we set up our application with a log in form, but if anyone can log in as anyone else and tweet away it will be chaos! Imagine if anyone could just log in to your Facebook account and post whatever they wanted (or maybe you’ve already had the embarrassing experience of having your account hacked!). To make sure people are who they say they are, we need to set up an authentication system with passwords. If we are storing users’ passwords we’ll also need to keep them safe from hackers with some kind of encryption system. On to the spy stuff!
View Students Will Be Able To... on Learn.co and start learning to code for free.