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.
In reply to Re: Integrating Password encryption into DBIx::UserDB
by tirwhan
in thread Integrating Password encryption into DBIx::UserDB
by hesco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |