Created
July 7, 2016 03:38
-
-
Save xcaptain/ab5fa1f90379f9203a90efd656dbbba1 to your computer and use it in GitHub Desktop.
test laravel hash function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php artisan key:generate | |
php artisan tinker | |
$plain = '123456'; | |
$hashed = app('hash')->make('123456') | |
app('hash')->check($plain, $hashed) | |
php artisan key:generate | |
app('hash')->check($plain, $hashed) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment