how to use password in a function laravel code example Example: bcrypt laravel $password = bcrypt('secret');