News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ITNewb.com:
Encrypting Passwords with PHP for Storage Using the RSA PBKDF2 Standard
September 21, 2009 @ 11:19:09

On the ITnewb.com site today there's a new tutorial looking at the encryption of passwords in your PHP apps using the RSA PBKDF2 standard - a "Password-Based Key Derivation Function" that uses a pseudorandom function/input with a salt run multiple times to produce your derived key.

When creating password hashes for storage, many programmers will run a password through MD5 once and call it a day, rendering those hashes very susceptible to attack if they're discovered. In this article, you'll learn how to create stronger hashes with PHP by using the RSA PBKDF2 Standard.

They create a quick function that takes in a few different values - the password to encrypt, a salt value, how many iterations to run, how long you want the derived key to be and which hash to use (in this case sha256).

0 comments voice your opinion now!
tutorial storage password rsa pbkdf2 standard


blog comments powered by Disqus

Similar Posts

Anthony Ferrara's Blog: Properly Salting Passwords, The Case Against Pepper

Rob Allen's Blog: Tutorial Notes - Zend_Auth in French & Using Oracle

HowTo Forge: Installing And Working With Xoops Under Ubuntu 6.10

OneNextraPixel.com: 13 Useful WordPress SQL Queries You Wish You Knew Earlier

PHPBuilder.com: PHP Dependency Injection Creates More Maintainable Code


Community Events

Don't see your event here?
Let us know!


release language podcast development introduction voicesoftheelephpant unittest laravel library wordpress api psr7 conference opinion interview laravel5 community extension series framework

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework