Be Cryptic

December 29, 2020

What is BCrypt?

BCrypt is a password hashing gem that allows you to secure a user’s password. First, BCrypt needs to be added to the Gemfile, then run “bundle install” in the console. When establishing the database table, the password attribute should be password_digest. In addition, add hassecurepassword to the User class. password_digest and hassecurepassword work together with BCrypt to establish secure hashed passwords. . . . See more

Share: