News Feed
Jobs Feed
Sections




News Archive
Andreas Gohr's Blog:
Working with Password Hashes in PHP
July 29, 2008 @ 12:57:43

Andreas Gohr has a general overview of hashing in a new post to his blog:

Every good programmer knows, that passwords should never be stored in clear text. Instead a one way hash (or digest) should be used. This way user passwords are not at risk in case of an intrusion.

He points out the multiple ways that PHP offers for both simple hashing (like md5 or sha1) and the true encryption types (like ssha, apr1 and crypt). He shows how they work in the DokuWiki application via a call to auth_cryptPassword to make it and db_get_hash/auth_verifyPassword to check against it.

0 comments voice your opinion now!
password hash encrypt method dokuwiki


blog comments powered by Disqus

Similar Posts

Reddit.com: Year Old Bug Request for $_PUT Interested in /r/php's Opinion

Brandon Savage's Blog: A Lesson In Static Methods And Late Static Binding

php|architect: Writing an AJAX-based Visual Rating System with PHP

Matthew Weir O'Phinney's Blog: Phly_Struct? no, Phly_Hash...

PHP-Coding-Practices.com: Making CakePHP's Pagination work with Model::expects()


Community Events











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


language symfony2 release zendframework2 community unittest podcast opinion series functional development interview framework conference introduction usergroup testing database rest phpunit

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