As you're dealing with passwords, I hope you've considered the security implications. If not, please do so.
A little more code than my %pword = (Rich => '', Broke => '',); would have been useful. I'm not sure why you'd consider reversing the hash. You haven't described what problem you're encountering using a username as a key. Here's a few code snippets that might prove helpful:
If you're having fundamental problems with how to handle hashes, take a look at perldata.
-- Ken
In reply to Re: Password with hashes
by kcott
in thread Password with hashes
by Velli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |