Alex Rivera | Logout

Saving passwords inside an application

Asked 2009-09-27T20:47:58.667
10

I am writing an application that needs to read a user name and password and store them so that the program can read them again later. Storing it in some variables sounds like a stupid idea.

Found that KDE library, but it has too huge dependency, and I am too newbie programmer to understand how to use it.

What are the common Methods to storing passwords, and how I can solve my problem?

Edit
Report

1 Answer

0

At spotep.com we only store the username and a hashcode of the username combined with the password. The benefit of this is that similair (often trivial) passwords wont result in the same hashcode (which is stored in a cookie, and therefore very unsafe).

answered 2009-09-27T22:37:47.123

Your Answer