News Feed
Sections




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

PHPBuilder.com:
Implementing Secure Passwords in PHP 5.5
January 29, 2014 @ 11:17:40

On PHPBuilder.com today there's a new post introducing you to a relatively recent advancement in PHP (in version 5.5), the password hashing API. In this article they cover the basics including hashing and verifying the result.

PHP has always had a few simple ways to implement password hashing to an extent. MD5 and SHA1 are examples of this, but the security of these methods is not what it should be. [...] What we need is a secure password encryption mechanism that uses SALT and perhaps even something else to help us safely encrypt our passwords for later use. [...] Lucky for us, the folks at PHP have thought about this long and hard, and the result is a very simple PHP password hashing API that is not only easy to use, but fast and secure.

They briefly look at the two major functions in the updated feature - password_hash and password_verify and some basic code examples of their use.

0 comments voice your opinion now!
secure password hash php55 passwordhash passwordverify introduction

Link: http://www.phpbuilder.com/articles/application-architecture/security/implementing-secure-passwords-in-php-5.5.html

blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: 5 Easy Ways to Get Started with PHP on Vagrant

Stuart Herbert's Blog: Learning PHP Data Objects, by Dennis Popel

Symfony Project Blog: We're writing a book

Piotr Pasich: Rabbit behind the scenes

DeveloperDrive.com: What Web Developers Need to Know About Cross-Site Scripting


Community Events

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


xdebug language api voicesoftheelephpant series laravel5 release library introduction laravel opinion framework community extension podcast unittest example install interview php7

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