in reply to Storing encrypted passwords and validating
A few thoughts:
- Search CPAN first.
-
If you use a digest, use SHA1, not MD5.
-
Include some random-text and some “salt” in the string that you hash.
-
Store only the hashed string (with salt) in the database.