SHA and Perl

Discussion of programming on Linux, including shell scripting, perl, python, c/c++, mono, java. Whatever tickles your fancy.
Post Reply
azfar
Captain
Posts: 598
Joined: Tue Mar 23, 2004 1:16 am
Location: Karachi
Contact:

SHA and Perl

Post by azfar »

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
Kdaemon
Naib Subedar
Posts: 346
Joined: Sat Nov 30, 2002 12:22 pm
Location: Islamabad. GPS: LHR

Post by Kdaemon »

reg linux user #298274
Post Reply