Skip to content

Instantly share code, notes, and snippets.

@xcaptain
Created July 7, 2016 03:38
Show Gist options
  • Save xcaptain/ab5fa1f90379f9203a90efd656dbbba1 to your computer and use it in GitHub Desktop.
Save xcaptain/ab5fa1f90379f9203a90efd656dbbba1 to your computer and use it in GitHub Desktop.
test laravel hash function
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