in reply to
Encrypting a user name and password
What you want to look at is
crypt
.
Simply encrypt the password when you write it to the file. When the user logs in, crypt it, and compare this against your previously stored (and encrypted) string.
HTH,
Shendal
Comment on
RE: Encrypting a user name and password
In Section
Seekers of Perl Wisdom