News Feed
Sections




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

Scott Arciszewski:
Using scrypt in PHP-based Websites
October 30, 2013 @ 10:48:18

Scott Arciszewski has posted a new tutorial to his site helping you get scrypt installed as an alternative to some of the other cryptographic functionality that's already supported by PHP (like bcrypt).

Most newbie PHP developers suck at developing user authentication systems. When not storing passwords in plaintext, they just wing it with a simple hash function and hope it's good enough. Instead of md5(), sha1(), or hash(), you should consider using scrypt, pbkdf2, or bcrypt. Today, I'll go through the steps required to start using scrypt in your web applications.

He walks you through the exact steps you'll need to get scrypt installed and working happily with PHP (provided you have root on the machine). Thankfully, it's pretty easy thanks to the scrypt extension provided through PECL. He gives a brief introduction to using the scrypt function and links to an updated version of a scrypt wrapper you can use in your applications.

0 comments voice your opinion now!
scrypt cryptography hashing extension pecl tutorial

Link: https://s.arciszewski.me/blog/2013/10/php-scrypt-setup

blog comments powered by Disqus

Similar Posts

Zend: Extension Writing Tutorials - Resources (Part 3)

Content with Style: Zend Framework with nginx and php-fastcgi

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 12)

DevShed: Working with the Email Class in Code Igniter

DevShed: Building Sample Programs for an IP-to-country Mapping Application


Community Events





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


configure framework podcast refactor opinion testing install threedevsandamaybe series language community developer wordpress laravel unittest introduction code release interview list

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