View Single Post
Old 02-10-2008, 01:28 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,697
redhead is on a distinguished road
I would suggest to use Salt in a combination with SHA1 pretty much what we discussed in your last thread regarding passwords

Readingthe Storing passwords - done right article might give you some idears.

If you're accostum to the routine of writing/reading files, it's not much different with quering a database, you retrieve the data which matches, run through it in a loop and do with the found data as you see fit, very much like you would with a flat file.
It's just different function-calls you'd use.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote