[Tutor] Password

Andrei project5 at redrival.net
Wed May 18 18:30:36 CEST 2005


Øyvind wrote on Wed, 18 May 2005 14:46:43 +0200 (CEST):

> The user enters a password first. These lines will create a string:
> '12c0faae657b3d068c0f19b71f5b43bc' This string will be stored in the file
> settings.txt

That's a very good way of preventing the user's password from being
reconstructed. If that's all the safety you're looking for, then it's OK.
If the password is intended to safeguard some really important data, it's
not safe to store the password or the hash - you'll have to encrypt the
data in such a way that it can't be decrypted without the password, even if
the source code is available.

-- 
Yours,

Andrei

=====
Real contact info (decode with rot13):
cebwrpg5 at jnanqbb.ay. Fcnz-serr! Cyrnfr qb abg hfr va choyvp cbfgf. V ernq
gur yvfg, fb gurer'f ab arrq gb PP.



More information about the Tutor mailing list