SHA and Perl

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.

SHA and Perl

Postby azfar » Tue Mar 07, 2006 4:22 pm

I have a perl script which read some values from a file and add them in database. The file conatin usernames, passwords etc in clear text.
I want after reading the values from file my perl script crypt the userpassword value into SHA and then add it into databse.
Is it practicaly possible to read a value from file then convert it on the fly and add to DB.

If any body intrested then i will show my script.
Azfar Hashmi
Email : azfarhashmi@hotmail.com
azfar
Captain
 
Posts: 598
Joined: Tue Mar 23, 2004 1:16 am
WLM: azfarhashmi@hotmail.com
Yahoo Messenger: azfarhusain@yahoo.com
Location: Karachi

Postby Kdaemon » Tue Mar 07, 2006 5:41 pm

reg linux user #298274
Kdaemon
Naib Subedar
 
Posts: 346
Joined: Sat Nov 30, 2002 12:22 pm
Location: Islamabad. GPS: LHR


Return to “%s” Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron