Ø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): [EMAIL PROTECTED] Fcnz-serr! Cyrnfr qb abg hfr va choyvp cbfgf. V ernq gur yvfg, fb gurer'f ab arrq gb PP. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor