in reply to P@$$w0rd$ in perl?

Try serializing the data as discussed in this tutorial.
That will encode the data, and then store it in a file that you can then Thaw, etc. Then, as far as I know, someone would not be able to
just glance at the password.

Replies are listed 'Best First'.
RE: Re: P@$$w0rd$ in perl?
by ZZamboni (Curate) on Apr 24, 2000 at 22:27 UTC
    But anyone would be able to write a simple perl script that reads the serialized data and prints the password. No. The purpose is to encrypt the password by encrypting it.

      You are correct. I was not commenting on the encryption technique
      but speaking towards saving the password in something a little more
      obscure and difficult than a DB. By all means encrypt the date, but
      don't give anyone with a Brute Force program an inch towards getting your
      password.

      Sorry, should have made that clearer.