How to obscure a password

Lucas Raab pythongnome at hotmail.com
Thu Feb 26 16:46:08 EST 2004


The only problem with using rotor, is that, given the time, someone could
decrypt the password file by using the encrypted form and guessing the key.

"Rene Pijlman" <reply.in.the.newsgroup at my.address.is.invalid> wrote in
message news:e60s30927eikkugiciu0f9mgde9mtqsm60 at 4ax.com...
> Batista, Facundo:
> >So, is there a module to obscure the password text in a secure way?
>
> You can only obscure a password in an obscure way, not in a secure way.
>
> >I can't hash it (with md5 or something), because I not need to compare
the
> >password the user enters with a previous one.
> >
> >I need to restore the password later and use it as if the user just
entered
> >it.
>
> I use rotor for that.
> http://www.python.org/doc/current/lib/module-rotor.html
>
> -- 
> René Pijlman





More information about the Python-list mailing list