vjroby / laravel-pbkdf2
This is a package for wrapping PBKDF2 class and using it in Laravel as a facade
Installs: 50 012
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2024-12-07 18:03:28 UTC
README
#PBKDF2 package for Laravel 4#
##Installing instructions##
Install using composer:
"vjroby/laravel-pbkdf2": "0.2.0"
Put a new service provider:
'Vjroby\LaravelPbkdf2\LaravelPbkdf2ServiceProvider'
and the alias
'Pbkdf2' => 'Vjroby\LaravelPbkdf2\Facades\Pbkdf2Facade'
in the app.php
.
There are 3 methods that can be used:
Pbkdf2::safeEquals($string1, $string2)
Pbkdf2::createSalt()
Pbkdf2::createHash('password',$salt)
For changing the configuration:
php artisan config:publish vjroby/laravel-pbkdf2