By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,219 Members | 1,745 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,219 IT Pros & Developers. It's quick & easy.

Standard Python 2.4 module like "crypt" for Windows?

P: n/a
Is there a module available in the standard library, for Python 2.4
running on Windows, like "crypt" for Python 2.4 running on *nix
machines?

I need to store database passwords in a Python 2.4 script, but
obviously don't want them in clear text.

I'm looking for a reasonable level of security. What are some of my
options?

Also wondering if, for PythonWin, there is a module that will display
asterisks rather than echo entered passwords in clear text. I see I
have access to the getpass module, but I can't get it to work--it
still echos typed-in passwords to the screen as clear text.
Dec 11 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Is there a module available in the standard library, for Python 2.4
running on Windows, like "crypt" for Python 2.4 running on *nix
machines?
I can't try right now, but I would expect that the Cygwin python
distribution has a crypt implementation.

If you want a crypt implementation for the python.org distribution,
the easiest (but perhaps not fastest) solution would be to use
fcrypt.

Regards,
Martin
Dec 11 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.