Terry, I'm not sure if this will help, but here's how encrypted passwords are typically handled.
1. Store the user's login name and encrypted password.
2. When the user logs in, collect their username and password.
3. Encrypt the supplied password with the same algorithm as in step #1.
4. Compare the two encrypted strings to see if they are the same.
This is greatly simplified, and of course I'm leaving out salting
your password, which you should do, but this should give you the basic idea.