|
-
March 30th, 2009, 06:56 PM
#1
question about passwords
is it possible for when the use enters a password that it can be encrypted and saved in an external file. and it is encrypted with a some sort of user generated recovery question? any feedback on the topic would be much appreciated.
-
March 30th, 2009, 08:02 PM
#2
Re: question about passwords
It's possible, but that's not how I'd do it. Typically passwords should not be stored; rather, a 1-way hash of the password should be stored. Then you can just hash any passwords entered later and compare the hashes.
-
March 31st, 2009, 03:03 AM
#3
Re: question about passwords
Thanks for your help.
-
April 2nd, 2009, 01:13 PM
#4
Re: question about passwords
how do i do a 1-way hash?
-
April 2nd, 2009, 01:15 PM
#5
Re: question about passwords
 Originally Posted by twistedmike
how do i do a 1-way hash?
You can use one from a cryptographic library, or implement a published one yourself (do not invent your own). You should also include a salt along with each password to frustrate dictionary attacks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|