in reply to Integrating Password encryption into DBIx::UserDB
Take a look at Digest::SHA, this will allow you to create a secure hash of the password given to you by the user. Store that hash (no need to further "scramble" it) and whenever the user logs on again recreate the hash from the password supplied and pass that to user_login for authentication.
For good future security you should use sha256 upwards, sha1 is beginning to show it's age.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Integrating Password encryption into DBIx::UserDB
by hesco (Deacon) on Feb 01, 2006 at 12:11 UTC | |
by tirwhan (Abbot) on Feb 01, 2006 at 12:33 UTC | |
by hesco (Deacon) on Feb 01, 2006 at 13:10 UTC |