Skip to content

Instantly share code, notes, and snippets.

@dabura667
dabura667 / pbkdf2.php
Last active May 25, 2016 15:22 — forked from rsky/pbkdf2.php
A hash_pbkdf2() implementation for PHP versions 5.3 and 5.4.
<?php
/**
* Generate a PBKDF2 key derivation of a supplied password
*
* This is a hash_pbkdf2() implementation for PHP versions 5.3 and 5.4.
* @link http://www.php.net/manual/en/function.hash-pbkdf2.php
*
* @param string $algo
* @param string $password