Hashing Users7:45 with Kenneth Love
In "Build a Social Network with Flask", you hashed user passwords with bcrypt. Bcrypt is still very strong but, thanks to advances in GPUs, its days are numbered. A new way of securing user passwords is needed and I just happen to have one.
- Storing Passwords in a Highly Parallelized World
You can leave the
**kwargs off of
create_user if you want. I find this to be handy way to add in flags like
can_delete, you just need to add them as fields on the model or in some sort of permissions system. It's a good idea to be forward-thinking in your designs!
You need to sign up for Treehouse in order to download course files.Sign up