In fact, I are just writing a demo program used in a presentation, when I open its config file through screen sharing, I don't want the visiter see the plain text password.
On 8/30/05, Miguel Santinho <[EMAIL PROTECTED]> wrote: > Em (On) Mon, Aug 29, 2005 at 12:36:32PM -0400, Bob Showalter escreveu (wrote): > > 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? > > If someone can access your machine to get the password... then your problem > is not the way you encrypt that file, but the way you protect your machine. > ;-) > > -- > +----------------------------------------------------- > | Simplicidade.com > | Consultoria em Tecnologias de Informação, Lda. > +----------------------------------------------------- > | Rua António Onofre, 4D > | 2870-220 Montijo - PORTUGAL > | Tel./Fax: +351 21 231 01 51 > +----------------------------------------------------- > | [EMAIL PROTECTED] | http://www.simplicidade.com > +----------------------------------------------------- > > > -- perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"[EMAIL PROTECTED] ")' -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>