vjroby/laravel-pbkdf2

This is a package for wrapping PBKDF2 class and using it in Laravel as a facade

0.2.2 2015-04-13 17:48 UTC

This package is not auto-updated.

Last update: 2021-09-18 00:39:54 UTC


README

Build Status #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