2017 © Pedro Peláez
 

library pbkdf2-compat

A compatibility library for the PHP 5.5 function hash_pbkdf2().

image

eloquent/pbkdf2-compat

A compatibility library for the PHP 5.5 function hash_pbkdf2().

  • Thursday, February 13, 2014
  • by ezzatron
  • Repository
  • 1 Watchers
  • 14 Stars
  • 41,780 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 6 % Grown

The README.md

PBKDF2-compat

A compatibility library for the PHP 5.5 function hash_pbkdf2()., (*1)

The most recent stable version is 1.0.1 Current build status image Current coverage status image, (*2)

Installation and documentation

What does it do?

This library provides a forwards-compatible implementation of the hash_pbkdf2() function introduced in PHP 5.5. It allows the use of this function in versions of PHP prior to 5.5, and falls back to the native function when it is available., (*3)

Usage

See the PHP manual entry., (*4)

Behaviour of length parameter

Although the documentation does not specify, the $length parameter refers to the resulting string length, not the length of the raw hash. This means that when $raw_output is false, $length needs to be doubled to produce a hash containing the same amount of data (because hex encoding doubles the number of bytes in the result string)., (*5)

Acknowledgements

Inspired by ircmaxell/password_compat. PBKDF2 implementation derived from Symfony's Pbkdf2PasswordEncoder., (*6)

The Versions

13/02 2014

dev-develop

dev-develop https://github.com/eloquent/pbkdf2-compat

A compatibility library for the PHP 5.5 function hash_pbkdf2().

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

hash pbkdf2 pkcs5 compatibility compat pbkdf pkcs hash_pbkdf2

13/02 2014

dev-master

9999999-dev https://github.com/eloquent/pbkdf2-compat

A compatibility library for the PHP 5.5 function hash_pbkdf2().

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

hash pbkdf2 pkcs5 compatibility compat pbkdf pkcs hash_pbkdf2

13/02 2014

1.0.1

1.0.1.0 https://github.com/eloquent/pbkdf2-compat

A compatibility library for the PHP 5.5 function hash_pbkdf2().

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

hash pbkdf2 pkcs5 compatibility compat pbkdf pkcs hash_pbkdf2

24/06 2013

1.0.0

1.0.0.0 https://github.com/eloquent/pbkdf2-compat

A compatibility library for the PHP 5.5 function hash_pbkdf2().

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

hash pbkdf2 pkcs5 compatibility compat pbkdf pkcs hash_pbkdf2

01/05 2013

0.1.0

0.1.0.0 https://github.com/eloquent/pbkdf2-compat

A compatibility library for the PHP 5.5 function hash_pbkdf2().

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

hash pbkdf2 pkcs5 compatibility compat pbkdf pkcs hash_pbkdf2