Rentachintala, Jagan [RJ], on Tuesday, April 26, 2005 at 18:00 (-0400)
typed the following:


RJ> I am a newbie to perl and I have a question.  In one of my project, the perl
RJ> script will create a logfile.  Inside the log file, the username/password is
RJ> in clear text. 
RJ> I am trying to hide the password in the logfile.  Is there a way that I can
RJ> hide the password or put an 'XXXXXX' in the password place in the log file.

why you store password in log file? I think you should store password
only if unsucessfull login. And if you want really store password, I'd
use some hash function (crc32, md5, sha1). There are lots of modules
for this.

--

How do you protect mail on web? I use http://www.2pu.net

["You miss something not playing with model ships" - Picard]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to