How to store passwords?
sbassi at clubdelarazon.org
Wed Jan 7 21:55:29 CET 2009
On Wed, Jan 7, 2009 at 6:42 PM, Oltmans <rolf.oltmans at gmail.com> wrote:
> I'm writing a program in which I will ask users to enter user name and
> password once only. It's a console based program that will run on
In general you don't store the password, but a "hash" of it. Then when
the user logs-in, you hash it and compare the result with the stored
About hash, use sha, look here:
> Windows XP. Actually, I'm trying to provide the similar functionality
> as "Remember me" thing in browsers. For that, I will need to store
> user name and passwords on the disk. I don't have a background in
I don't understand how this is supposed to work. "Remember me" in
browser doesn't store passwords.
> using? Moreover, I cannot use a whole library to do that due to
> certain issues. However, I can use like 1--2 files that will be
> shipped along with the main script. Any ideas? Any help will be really
> appreciated. Thanks.
The library I pointed out before is built-in.
Sebastián Bassi. Diplomado en Ciencia y Tecnología.
Book: Python for bioinformatics. http://tinyurl.com/biopython
Vendo isla: http://www.genesdigitales.com/isla
What's new in Python 3: http://tinyurl.com/5cd89r
Curso Biologia molecular para programadores: http://tinyurl.com/2vv8w6
More information about the Python-list