Encrypt your passwords. The hash and bcrypt methods are useful for working with password fields in tables of registered users, etc. It allows you to generate passwords that you can easily change with the hashed fields generated here.
You can use it to check hashed passwords.