note 112691 added to function.hash-pbkdf2
| From: | Anonymous | Date: | Sat, 13 Jul 2013 16:29:33 +0000 |
| Subject: | note 112691 added to function.hash-pbkdf2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-195603@lists.php.net to get a copy of this message | ||
Sadly this function was added in PHP 5.5 but many webservers just provide PHP 5.3. But there exists
a pure PHP implementation (found here: https://defuse.ca/php-pbkdf2.htm).
I took this implementation, put it into a class with comments for PHPDoc and added a switch so that
the native PHP function is used if available.
Feel free to use it!
http://pastebin.com/f5PDq735
(Posted on pastebin.com since the text would have been too long)
----
Server IP: 69.147.83.199
Probable Submitter: 134.28.202.206
----
Manual Page -- http://php.net/manual/en/function.hash-pbkdf2.php
Edit -- https://master.php.net/note/edit/112691
Del: integrated -- https://master.php.net/note/delete/112691/integrated
Del: useless -- https://master.php.net/note/delete/112691/useless
Del: bad code -- https://master.php.net/note/delete/112691/bad+code
Del: spam -- https://master.php.net/note/delete/112691/spam
Del: non-english -- https://master.php.net/note/delete/112691/non-english
Del: in docs -- https://master.php.net/note/delete/112691/in+docs
Del: other reasons-- https://master.php.net/note/delete/112691
Reject -- https://master.php.net/note/reject/112691
Search -- https://master.php.net/manage/user-notes.php