Ken Perl wrote: > The password used to access a ftp server is stored in a text file, the > perl program gets the password from the file, the pass it to the ftp > server for logon, this is the background. > The requirement is encrypt the password store in a more secure way, > and the perl program could still use the encrypted password to logon > the server. what algorithm should be used in this task?
Why are you storing the password? Prompt for it when the program runs. Encrypting it will be pointless. You'll either have to a) store the encryption key somewhere, thus leaving you with the same problem, or b) prompt for it when the program runs, in which case you could just prompt for the FTP password. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>