password encryption in laravel validated data code example Example: bcrypt laravel $password = bcrypt('secret');