News Feed
Sections




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

AnyExample.com:
PHP password generation
December 29, 2006 @ 08:03:00

A new tutorial has been posted over on AnyExample.com dealing with password generation in PHP. This type of script can be useful for creating a default password for your application to give initially to the user.

Modern web-applications often provide (during registration, or password-reset) random-generated passwords for its users. However these passwords (usually a random combination of letters or numbers) are quite hard to remember: in fact, it's even impossible to read them. This article provides a function for generating English-like readable passwords.

The key difference in this script is that last sentence - making the passwords somewhat human-readable. They give an example of what the traditional (md5-ish) approach to making passwords is before giving the code to create something a bit easier to remember like "lyttakor" or "fapoution". Example usage code is also provided.

0 comments voice your opinion now!
password generation memorable easy md5 tutorial password generation memorable easy md5 tutorial


blog comments powered by Disqus

Similar Posts

HowToForge.com: Installing PHP5 Debugger On OpenSUSE 11.3

Mfana Ronald Conco's Blog: RabbitMQ and PHP Part 2 - Durable Queues and Persistent Messages

PHPMaster.com: Decoupling Interfaces from Implementation - Using Separated Interfaces

Sameer Borate's Blog: Simulating Packages in PHP

IBuildings Blog: Multithreading in PHP with CURL


Community Events





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


introduction interview install symfony composer community conference voicesoftheelephpant opinion language unittest api release configure list version podcast laravel series extension

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