Using BCrypt To Create And Check Hashed Passwords
> include BCrypt
=> Object
> encrypted_pass = Password.create('password')
=> "$2a$10$te3Y8wdSXf8/gWDeSP5z9eut7alThnuTvq1SvgQyJ1C57F.qit1uq"
> Password.new(encrypted_pass) == "not_my_pass"
=> false
> Password.new(encrypted_pass) == "password"
=> trueLast updated