PHPackages                             nrk/pbkdf2-service-provider - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. nrk/pbkdf2-service-provider

ActiveLibrary[Security](/categories/security)

nrk/pbkdf2-service-provider
===========================

Password-Based Key Derivation Function (PBKDF2) service provider for the Silex microframework

29PHP

Since Jul 8Pushed 13y ago1 watchersCompare

[ Source](https://github.com/nrk/PBKDF2ServiceProvider)[ Packagist](https://packagist.org/packages/nrk/pbkdf2-service-provider)[ RSS](/packages/nrk-pbkdf2-service-provider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PBKDF2ServiceProvider
=====================

[](#pbkdf2serviceprovider)

This service provider for **[Silex](http://silex-project.org)** enables developers to seamlessly leverage the [Password-Based Key Derivation Function (PBKDF2)](http://www.ietf.org/rfc/rfc2898.txt) in their web applications. It can automatically choose between a pure-PHP implementation of the algorithm or, if available in the `hash`extension, the C-based function `hash_pbkdf2()` proposed in [PHP #60813](https://bugs.php.net/bug.php?id=60813).

Getting started
---------------

[](#getting-started)

Using this service provider is easy, all you need to do is register its namespace in the autoloader stack and register an instance of the service provider in the silex application:

```
