Asep Septiadi Posted on Nov 10, 2023 Encrypt Password Laravel #encrypt #laravel return User::create([ 'password' => bcrypt($data['password']), ]); Enter fullscreen mode Exit fullscreen mode Top comments (2) Subscribe Submit Preview Dismiss Collapse Expand Justin K. Justin K. Justin K. Follow Location Germany, Schleswig Holstein Joined Oct 7, 2019 • Nov 14 '23 Dropdown menu Copy link Hide The proper way of hashing a password in laravel would be using the Hash facade: 'password' => Hash::make($data['password']) Official Documentation: laravel.com/docs/10.x/hashing#hash... Collapse Expand Asep Septiadi Asep Septiadi Asep Septiadi Follow Tech enthusiast, linux addict, live hack coding Email devadiroot@gmail.com Location Bekasi, West Java, Indonesia Education STT Pelita Bangsa Cikarang Pronouns his/him Work Android Developer @ PT. Global Pristya Indonesia (Goodeva Technology) since 2021-Now Joined Aug 15, 2022 • Nov 16 '23 Dropdown menu Copy link Hide Thankyou bro for your insight, this may be can help me to. Code of Conduct • Report abuse
Top comments (2)
The proper way of hashing a password in laravel would be using the Hash facade:
'password' => Hash::make($data['password'])Official Documentation: laravel.com/docs/10.x/hashing#hash...
Thankyou bro for your insight, this may be can help me to.