Password Based Key Derivation Function 2

v1.0.4 2016-01-05 07:59 UTC

This package is auto-updated.

Last update: 2020-09-27 04:24:37 UTC


Scrutinizer Code Quality Coverage Status

Build Status StyleCI

HHVM Status PHP 7 ready


Latest Stable Version Total Downloads Latest Unstable Version License

This library implements the PBKDF2 algorithm (RFC2898 and RFC6070). Please note that if you use PHP 5.5+, this library is useless. From PHP 5.5, you can use hash_pbkdf2 directly.

The Release Process

The release process is described here.


This library needs at least PHP 5.3.

It has been successfully tested using PHP 5.3 to PHP 5.6, PHP 7.0 and HHVM.


The preferred way to install this library is to rely on Composer:

composer require "spomky-labs/pbkdf2" "~1.0.0"

How to use

Take a look at How to use to use this library.


Requests for new features, bug fixed and all other ideas to make this library useful are welcome. Please follow these best practices.


This software is release under MIT licence.